Compiler Error C2979
explicit specializations are not supported in generics
A generic class was declared incorrectly. See Generics for more information.
Example
The following sample generates C2979.
// C2979.cpp
// compile with: /clr /c
generic <>
ref class Utils {}; // C2979 error
generic <class T>
ref class Utils2 {}; // OK
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