Compiler Error C3413
'name' : invalid explicit instantiation
The compiler detected an ill-formed explicit instantiation.
The following sample generates C3413:
// C3413.cpp
template
class MyClass {}; // C3413
Possible resolution:
// C3413b.cpp
// compile with: /c
template <class T>
class MyClass {};
template <>
class MyClass<int> {};
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for