Export (0) Print
Expand All
Expand Minimize

Compiler Error C3211

Error Message

'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

Community Additions

ADD
Show:
© 2014 Microsoft