Compiler Error C2989

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

The given class was previously defined as a non-template class. Check header files to make sure that there are no conflicts. The following code generates this error:

class C{};
template <class T> class C{};  // error