Compiler Warning (level 2) C4660 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

template-class specialization 'identifier' is already instantiated

A templated class or function was instantiated more than once.

The following example shows how this situation might occur.

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.