It doesn't like the line "C<T> m_container;" and gives me the error "error C2059: syntax error : '<'".Code:#include <list> template<class C, class T> class MyContainer { private: C<T> m_container; }; class A { }; int main() { MyContainer<std::list, A*> container(); return 0; }
Jeff




Reply With Quote