Compiler Error C2947
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C2947.
expecting '>' to terminate construct, found 'syntax'
A generic or template argument list may not have been terminated correctly.
C2947 can also be generated by syntax errors.
The following sample generates C2947:
// C2947.cpp
// compile with: /c
template <typename T>= // C2947
// try the following line instead
// template <typename T>
struct A {};
Show: