应由“>”终止构造,却找到“syntax”
泛型或模板参数列表可能未正确终止。
C2947 也可能因语法错误生成。
下面的示例生成 C2947:
// C2947.cpp
// compile with: /c
template <typename T>= // C2947
// try the following line instead
// template <typename T>
struct A {};
应由“>”终止构造,却找到“syntax”
泛型或模板参数列表可能未正确终止。
C2947 也可能因语法错误生成。
下面的示例生成 C2947:
// C2947.cpp
// compile with: /c
template <typename T>= // C2947
// try the following line instead
// template <typename T>
struct A {};