Compiler Error C3211
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 C3211.
explicit specialization' : explicit specialization is using partial specialization syntax, use template <> instead
An explicit specialization was ill formed.
The following sample generates C3211:
// C3211.cpp
// compile with: /LD
template<class T>
struct s;
template<class T>
// use the following line instead
// template<>
struct s<int>{}; // C3211
Show: