Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4662

Error Message

explicit instantiation; template-class 'identifier1' has no definition from which to specialize 'identifier2'

The specified template-class was declared, but not defined.

Example

// C4662.cpp
// compile with: /W1 /LD
template<class T, int i> class MyClass; // no definition
template MyClass< int, 1>;              // C4662

Community Additions

ADD
Show:
© 2014 Microsoft