C++ typeof operator

Anycorn picture Anycorn · Apr 16, 2010 · Viewed 11.4k times · Source

very short question.

Is C++ typeof operator standard? de facto standard? which compilers do not provided it (besides Microsoft C++)?

Answer

dan04 picture dan04 · Apr 16, 2010

The typeof operator is nonstandard, but the upcoming C++ standard will have decltype.