共用方式為


編譯器錯誤 C3211

'explicit specialization' :明確特製化是使用部分特製化語法,請改用範本<>

明確特製化的格式不正確。

下列範例會產生 C3211:

// C3211.cpp
// compile with: /LD
template<class T>
struct s;

template<class T>
// use the following line instead
// template<>
struct s<int>{};   // C3211