Compiler Warning (level 2) C4660

template-class specialization 'identifier' is already instantiated

A templated class or function was instantiated more than once.

The following example causes this warning:

template<class T, int i> class MyClass {};
template MyClass< int, 4 >;
template MyClass< int, 4 >;  // warning, second instantiation