Compilerfehler C2950
Aktualisiert: November 2007
Fehlermeldung
'Typ': Explizite Spezialisierung kann nicht explizit instanziiert werden
'type' : cannot explicitly instantiate an explicit specialization
Der Compiler hat eine ungültige explizite Instanziierung gefunden.
Im folgenden Beispiel wird C2950 generiert:
// C2950.cpp
// compile with: /c
template <class T>
struct s;
template <>
struct s<int> {};
template struct s<int>; // C2950 delete this instantiation