Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C2943

Visual Studio 6.0

'class' : template-class-id redefined as a type argument of a template

There was an attempt to use the templated class as a type argument for a template. Use a symbol to take the type argument of a template.

The following example causes this error:

template<class T> class List {};
template<class List<int> > class MyList;   // error
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.