Gabriel Dos Reis - Re: [C++ PATCH] Implementation of C++0x decltype (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

Douglas Gregor doug.gregor@gmail.com writes:

| Hello all, | | The attached patches (for gcc, cp, testsuite subdirs) implement the C+ | +0x "decltype" facility, which computes the declared type of an | arbitrary expression. The latest standard wording, on which this | patch is based, is available here: | | http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2115.pdf | | Decltype has not yet been voted into the C++0x working draft, but it | has been approved by the C++ Evolution Working Group and has been | extensively discussed in the Core Working Group, so it is relatively | stable (only corner cases are likely to change). It's a highly- | requested feature in the library writer community. This patch only | makes decltype available when the experimental C++0x mode is enabled. | | Tested i386-apple-darwin8.8.1, no regressions. | | Okay for mainline?

Thanks for taking the time to implement this.

Procedural comments: Following the policy we all agreed on not so long ago, I believe the implementation should be in only after adoption in the WP (which is next meeting in Oxford, April 2007).

I realize I'm co-author of the proposal and you're just helping. But, I believe the policy holds for everybody :-)

I'd send more technical comments later.

Thanks!

-- Gaby


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