This is the mail archive of the gcc-patches@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: [C++0x PATCH] Implement C++0x decltype


"Doug Gregor" <doug.gregor@gmail.com> writes:

| The attached patch implements support for decltype under the
| experimental C++0x mode. decltype is the typeof that you've always
| wanted, especially if you're a library developer. You can read more
| about it here:
| 
|   http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2115.pdf
| 
| Pedants will note that decltype isn't yet in the C++0x working paper.
| However, it's semantics are stable, and it will be voted into C++0x
| next week (or I'll eat my hat...).
| 
| This patch is a cleaned-up and improved version of my previous patch
| for decltype. Tested powerpc-apple-darwin8.10.0; no regressions.
| 
| Okay for mainline?

We should follow the policy we all agreed on and get this in only
after it is voted into the Working Draft.

(Yes, I know you're just helping :-)

-- Gaby


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