This documentation is archived and is not being maintained.

Compiler Error C2990

'class' : non-template class has already been defined as a template class

The nontemplate class redefines a template class. Check header files for conflicts.

Example

// C2990.cpp
template <class T> class C{};   // C2990
class C{};
int main()
{
}
Show: