此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
应由“>”终止构造,却找到“syntax”
泛型或模板参数列表可能未正确终止。
C2947 也可能因语法错误生成。
下面的示例生成 C2947:
// C2947.cpp // compile with: /c template <typename T>= // C2947 // try the following line instead // template <typename T> struct A {};
此页面是否有帮助?