[LLVMdev] Using C++'11 language features in LLVM itself

Eli Bendersky eliben at google.com
Fri Jan 11 11:08:58 PST 2013


>> I suppose this tradeoff can be evaluated by looking at the delta
>> between 4.5 and 4.6 which is actually supported by MSVC 2010 and Clang
>> 3.1
>
> Makes perfect sense to me.
>
> -Chris

According to http://gcc.gnu.org/projects/cxx0x.html, these features
are available from 4.6 (language features only):

- Null pointer constant
- Forward declarations for enums
- Generalized constant expressions
- Unrestricted unions
- Range-based for
- Defining move special member functions
- Allowing move constructors to throw

Eli



More information about the llvm-dev mailing list