This documentation is archived and is not being maintained.

Compiler Error C3203

'type' : class template invalid as template argument for template parameter 'param', expected a real type

You passed an invalid argument to a class template. The class template expects a type as a parameter.

The following sample generates C3203:

// C3203.cpp
template <class T> struct S1

template <class T>
// template <template <class> class T>
class C1

typedef C1<S1> MyC1;   // C3203 (works with commented line above)
typedef C1<S1<int> > MyC12;   // ok

int main()