Derleyici hata C3541
'type': TypeID 'auto' içeren bir türe uygulanamaz
typeid (C++ Bileşen Uzantıları) İşleci, içerdiğinden belirtilen türe uygulanamaz auto belirleyici.
Örnek
Aşağıdaki örnek C3541 üretir.
// C3541.cpp
// Compile with /Zc:auto
#include <typeinfo>
int main() {
auto x = 123;
typeid(x); // OK
typeid(auto); // C3541
return 0;
}