Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
explicita specialisering; "mall" har redan instansierats
Anmärkningar
En specialisering av den primära mallen sker före den explicita specialiseringen.
Example
I följande exempel genereras C2908:
// C2908.cpp
// compile with: /c
template<class T> class X {};
void f() {
X<int> x; //specialization and instantiation
//of X<int>
}
template<> class X<int> {} // C2908, explicit specialization