Derleyici hata C3540
'type': sizeof 'auto' içeren bir türe uygulanamaz
Sizeof işleci, içerdiğinden belirtilen türe uygulanamaz auto belirleyici.
Örnek
Aşağıdaki örnek C3540 üretir.
// C3540.cpp
// Compile with /Zc:auto
int main() {
auto x = 123;
sizeof(x); // OK
sizeof(auto); // C3540
return 0;
}