預期 '>' 會終止建構,找到 'syntax'
備註
泛型或範本自變數清單可能尚未正確終止。
C2947 也可以由語法錯誤產生。
Example
下列範例會產生 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 {};