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++ PATCH] Implementation of C++0x decltype


On 2/3/07, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
On Sat, 3 Feb 2007, Doug Gregor wrote:
| Perhaps we should have a short-term branch for these features, and
| others that are very likely to go into the WP soon, have complete
| implementations,

I think that had have been suggested.

I was avoiding it (I hack on too many versions of GCC already!), but it's becoming necessary...

I'm glad to see your implementation of decltype is more complete than
what I had 2-3 years ago.  However, the manling issue still needs to
be resolved.  There is an open PR for that -- involving typeof.

Looks like there are a couple PRs against typeof for similar issues. With decltype, I chose to skip the expression entirely, because mangling arbitrary expressions is a mess that I am eager to avoid. When they reopen the C++ ABI discussions for C++0x, that'll be the time to deal with this mangling issue...

 Cheers,
 Doug


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