หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
expecting '>' to terminate construct, found 'syntax'
Remarks
A generic or template argument list may not have been terminated correctly.
C2947 can also be generated by syntax errors.
Example
The following example generates C2947:
// C2947.cpp
// compile with: /c
template <typename T>= // C2947
// try the following line instead
// template <typename T>
struct A {};