using namespace std; template<typename T, typename R>class tContainer_t{ R Container;public: tContainer_t(); ~tContainer_t(); }; template<typename T, typename R>tContainer_t<T, R>::tContainer_t() : Container(){ } int main(){ tContainer_t<int, list<int*> > l; return 0;}
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:23:27: error: 'list' was not declared in this scope prog.cpp:23:36: error: template argument 2 is invalid prog.cpp:23:38: error: expected unqualified-id before '>' token
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!