fork(3) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<typename T>
  5. class Test{
  6. public:
  7. template<typename... Aho>
  8. Test(Aho&&...){
  9. std::cout << "Aho";
  10. }
  11. Test(const Test&)=default;
  12. Test(Test&&)=default;
  13. };
  14.  
  15. int main() {
  16. Test<double> boke;
  17. Test<double> nasu(std::move(boke));
  18. return 0;
  19. }
Success #stdin #stdout 0s 4332KB
stdin
Standard input is empty
stdout
Aho