此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
“专用化”: 不允许显式专用化或部分专用化泛型类
泛型类不能用于显式专用化或部分专用化。
以下示例生成 C3235。
// C3235.cpp // compile with: /clr generic<class T> public ref class C {}; generic<> public ref class C<int> {}; // C3235 Remove this specialization to resolve this error.
此页面是否有帮助?