Compiler Error C3113
an 'structure' cannot be a template/generic
You attempted to make a class template or class generic out of an interface or an enum.
The following sample generates C3113:
// C3113.cpp
// compile with: /c
template <class T>
enum E {}; // C3113
// try the following line instead
// class MyClass{};
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