On Mon, Oct 20, 2008 at 7:19 PM, Peng Yu <[EMAIL PROTECTED]> wrote: > Could you please help explain what the difference between typeof and > decltype are? What are c++0x/g++0x modes?
Well decltype is part of the C++0x standard (http://gcc.gnu.org/projects/cxx0x.html, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf ). typedef is a GCC extension. Thanks, Andrew Pinski