Is there anyway to create template members in eVC3?
I created a simple example which compiles and runs fine in VS.NET 2003, but gives me compilation errors in eVC3.
I get these errors in eVC3:
error C2059: syntax error : ''template<''
error C2065: 'T1' : undeclared identifier
Is this just a feature that eVC3 doesn't support?
I created a simple example which compiles and runs fine in VS.NET 2003, but gives me compilation errors in eVC3.
- Code:
template <class T1> class TemplateClass
{
public:
template <class T2> int MemberTemplate();
};
template <class T1> template <class T2> int TemplateClass<T1>::MemberTemplate()
{
return 3;
}
//create object
TemplateClass<int> test;
I get these errors in eVC3:
error C2059: syntax error : ''template<''
error C2065: 'T1' : undeclared identifier
Is this just a feature that eVC3 doesn't support?