Delen via


Compilerfout C2766

expliciete specialisatie; "specialisatie" is al gedefinieerd

Opmerkingen

Dubbele expliciete specialisaties zijn niet toegestaan. Zie Expliciete specialisatie van functiesjablonen voor meer informatie.

Voorbeeld

In het volgende voorbeeld wordt C2766 gegenereerd:

// C2766.cpp
// compile with: /c
template<class T>
struct A {};

template<>
struct A<int> {};

template<>
struct A<int> {};   // C2766
// try the following line instead
// struct A<char> {};