hi, very short question.
Is C++ typeof
operator standard? de facto standard?
which compilers do not provided it (besides Microsoft C++)?
hi, very short question.
Is C++ typeof
operator standard? de facto standard?
which compilers do not provided it (besides Microsoft C++)?
The typeof
operator is nonstandard, but the upcoming C++ standard will have decltype
.
As noted, C++0x has decltype
. You can take a look at Boost.Typeof in the meantime.