This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC bug when using typeof


On Mon, Oct 20, 2008 at 7:19 PM, Peng Yu <pengyu.ut@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]