Compiler Error C2913

explicit specialization; 'declaration' is not a class template

An attempt to explicitly specialize a class that is not a class template causes this error. For example:

class X{};
template<> class X<int> {};