std::cout << "\nPress Enter to exit..." << std::endl;
std::cin.get();
return 0;
}
As is, the program compiles and run Ok, but when commenting the template definition of L.2 and uncommenting the L.1, who suposedly produces the same definition (see header.h), the compiler shown an error in M.L.1: "error C2975: 'X_2' : invalid template argument for 'unnamed-parameter', expected compile-time constant expression".
The question is: ¿Are there some way to do that? Any suggestion would be wellcome.
Bookmarks