Dear all, thank you for a great compiler! I have a question and feature request for C++11 decltype. The C++11 standard definition of decltype is described in N3276[1], but in earlier versions/C++0x it was N3243. The old version has been supported by gcc since a long time. The changes are quite important. I'm wondering if there is any effort on supporting N3276?
cheers Johan Lundberg details: There's an open bug, with a really simple test code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 . As expected it breaks gcc4.7 (eats memory indefinitely). The C++11 support page (http://gcc.gnu.org/gcc-4.7/cxx0x_status.html) lists decltype support as 'Yes' but with reference only to the old N3243. The authors of the N3276 document "...do not anticipate that other implementors will have any difficulty implementing this change.", but I would not know. I'd love to help but have no experience with compiler coding. [1] http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2011/n3276.pdf