Compiler Error C2924

'identifier' : explicit instantiation; name is not a member of a template-class specialization

There was an attempt to explicitly instantiate the given identifier, which is not a templated class. The following code generates this error:

template int NotAClass;  // error