Compiler Error C2946

explicit instantiation; 'class' is not a template-class specialization

There was an attempt to explicitly instantiate a class that was not templated. The following code generates this error:

class C {};
template C;  // error