Errore del compilatore C2738
'declaration': è ambiguo o non è un membro di 'type'
Una funzione è stata dichiarata in modo non corretto.
L'esempio seguente genera l'errore C2738:
// C2738.cpp
struct A {
template <class T> operator T*();
// template <class T> operator T();
};
template <>
A::operator int() { // C2738
// try the following line instead
// A::operator int*() {
// or use the commented member declaration
return 0;
}