Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327297

Summary: [C++0x] Add support for c++0x features implemented in gcc 4.6
Product: [Tools] CDT Reporter: Markus Schorn <mschorn.eclipse>
Component: cdt-parserAssignee: Project Inbox <cdt-parser-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, eclipse.sprigogin, notifications+eclipse.org, yevshif, zeratul976
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 327299, 327301, 305975, 316306, 327223, 327298, 327300, 332829, 442612    
Bug Blocks: 363234, 368589    

Description Markus Schorn CLA 2010-10-08 02:44:31 EDT
gcc 4.3 is covered by bug 294730
gcc 4.4 is covered by bug 302282
gcc 4.5 is covered by bug 316306

C++0x features added to gcc 4.6: (see http://gcc.gnu.org/projects/cxx0x.html)
(the list may be extended, gcc 4.6 is not yet released)

Null pointer constant                  N2431 
Unrestricted unions                    N2544 
Range-based for                        N2930 
Allowing move constructors to throw    N3050 
Defining move special member functions N3053
Comment 1 Nathan Ridge CLA 2010-12-17 03:50:27 EST
Generalized constant expressions (N2235) has been confirmed for gcc 4.6 (see http://gcc.gnu.org/projects/cxx0x.html).
Comment 2 Markus Schorn CLA 2010-12-17 04:59:26 EST
(In reply to comment #1)
Thanks for pointing that out, here is the current list of new c++0x features:

Null pointer constant                  N2431  (bug 327298)
Forward declarations for enums         N2764  (bug 305975)
Generalized constant expressions       N2235  (bug 332829)
Unrestricted unions                    N2544  (bug 327299)
Range-based for                        N2930  (bug 327223)
Allowing move constructors to throw    N3050  (bug 327300)
Defining move special member functions N3053  (bug 327301)