编译器错误 C3113

“结构”不能是模板/泛型

你试图从接口或枚举中创建了类模板或类泛型。

下面的示例生成 C3113:

// C3113.cpp
// compile with: /c
template <class T>
enum E {};   // C3113
// try the following line instead
// class MyClass{};