fork(1) download
  1. #include <iostream>
  2.  
  3. template<class...T> void foo(T&&...) {std::cout << "...T\n";}
  4. template<class T> void foo(T&&) {std::cout << "T\n";}
  5. int main() {
  6. foo(3);
  7. // your code goes here
  8. return 0;
  9. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
T