wiki:C++11Support

Version 2 (modified by epyon, 12 years ago) (diff)

--

Based on Apache C++0x Compiler Support

Current minimum supported compilers:

  • MSVC - 11.0 (2012)
  • GCC - 4.6
  • LLVM/Clang - 3.2
C++11 Feature GCC MSVC Clang Nova
alignas 4.8 3.0 No
alignof 4.5 2.9 No
Atomic operations 4.4 11.0 3.1 Yes
auto 4.4 10.0 Yes Yes
C99 preprocessor 4.3 Partial Yes Partial
constexpr 4.6 3.1 No
decltype 4.3 10.0 2.9 Yes
Defaulted and Deleted 4.4 3.0 No
Delegating constr. 4.7 12.0 3.0 No*
Explicit conv. ops 4.5 12.0 3.0 No*
Extended friend 4.7 10.0 2.9 No*
extern template 3.3 6.0 Yes Yes
Forward decl. enums 4.6 11.0 3.1 Yes
Inherit constructors 4.8 3.3 No
Initializer lists 4.4 12.0 3.1 No*
Lambda exp & closures 4.5 11.0 3.1 Yes
Local/unnamed templargs 4.5 10.0 2.9 Yes
long long Yes Yes Yes Yes
Namespace association 4.4 2.9 No
New character types 4.4 2.9 No
New function syntax 4.4 10.0 2.9 Yes
nullptr 4.6 10.0 2.9 Yes
Unicode string literals 4.4 3.0 No
Raw string literals 4.5 12.0 Yes No*
User-defined literals 4.7 3.1 No
Right angle brackets 4.3 8.0 Yes Yes
R-Value ref,std::move 4.5 11.0 Yes Yes
static_assert 4.3 10.0 2.9 Yes
Strongly typed enums 4.4 11.0 2.9 Yes
Template aliases 4.7 3.0 No
Thread-Local Storage 4.4! 10.0! 2.9! Partial
Unrestricted unions 4.6 3.0 No
Built-in Type Traits 4.3 8.0 3.0 Yes
Variadic templates 4.4 12.0 2.9 No*
Range-based for-loop 4.6 11.0 3.0 Yes
override and final 4.7 11.0 2.9 No*
Attributes 4.8 3.3 No
ref-qualifiers 4.8.1 2.9 No
Non-static member init 4.7 3.0 No
Magic statics 4.3 2.9 No
* - might change in future (GCC 4.8/MSVC 2013)
! - partial support