error: typedef name may not be a nested-name-specifier
- by Autopulated
I am trying to do something along the lines of this answer, and struggling:
$ gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
file.cpp:7: error: template argument 1 is invalid
file.cpp:7: error: typedef name may not be a nested-name-specifier
And the offending part of the file:
template <class R, class C, class T0=void, class…