C++ compiler support
From cppreference.com
                    
                                        
                    < cpp
                    
                                                            
                    |   | This page is maintained as best-effort and may lag behind most recent compiler releases | 
The following table presents compiler support for new C++ features. These include C++11, C++14, C++17 and various technical specifications.
| C++ feature | Paper(s) | Version | HP aCC | EDG eccp | GCC | Intel C++ | MSVC | IBM XLC++ | Sun/Oracle C++ | Embarcadero C++ Builder | Digital Mars C++ | Clang | Cray | Portland Group (PGI) | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alignas | N2341 | c++11 | 4.8 | 4.8 | 15.0 | 11.0* 14.0 | 13.1.2* | 5.13 | Yes | 3.0 | 8.4 | 2015 | ||
| alignof | N2341 | c++11 | 4.8 | 4.5 | 15.0 | 14.0 | 13.1.2* | 5.13 | Yes | 2.9 | 8.4 | 2015 | ||
| Atomic operations | N2427 | c++11 | Yes | 4.4 | 13.0 | 11.0 | 13.1.2* | 5.14 | Yes | 3.1 | 8.4 | 2015 | ||
| auto | N1984(v1.0) | c++11 | A.06.25 | 4.1(v0.9) | 4.4(v1.0) | 11.0(v0.9) 12.0(v1.0) | 10.0(v0.9) | 11.1(v1.0) | 5.13 | Yes | Yes | 8.4 | 2015 | |
| C99 preprocessor | N1653 | A.06.25 | 4.1 | 4.3 | 11.1 | 14.0* | 10.1 | 5.9 | Yes | Yes | Yes | 8.4 | 2015 | |
| constexpr | N2235 | c++11 | A.06.28 | 4.6 | 4.6 | 13.0* 14.0 | 14.0* | 12.1* 13.1 | 5.13 | Yes | 3.1 | 8.4 | 2015 | |
| decltype | v1.0: N2343 v1.1: N3276 | c++11 | A.06.25 | 4.1(v1.0) | 4.3(v1.0) 4.8.1(v1.1) | 11.0(v1.0) 12.0(v1.1) | 10.0(v1.0) 11.0(v1.1) | 11.1(v1.0) | 5.13 | Yes | 8.52(v1.0) | 2.9 | 8.4 | 2015 | 
| Defaulted and deleted functions | N2346 | c++11 | A.06.25 | 4.1 | 4.4 | 12.0 | 12.0 | 13.1 | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Delegating constructors | N1986 | c++11 | A.06.28 | 4.7 | 4.7 | 14.0 | 12.0 | 11.1 | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Explicit conversion operators | N2437 | c++11 | A.06.27 | 4.4 | 4.5 | 13.0 | 12.0 | 12.1 | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Extended friend declarations | N1791 | c++11 | A.06.25 | 4.1 | 4.7 | 11.1* 12.0 | 10.0* 12.0 | 11.1 | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| extern template | N1987 | c++11 | A.06.25 | 3.9 | 3.3 | 9.0 | 6.0 | 11.1 | 5.13 | Yes | Yes | 8.4 | 2015 | |
| Forward enum declarations | N2764 | c++11 | 4.5 | 4.6 | 11.1* 14.0 | 11.0 | 12.1 | 5.13 | Yes | 3.1 | 8.4 | 2015 | ||
| Inheriting constructors | N2540 | c++11 | 4.8 | 4.8 | 15.0 | 14.0 | 13.1.1* | 5.13 | Yes | 3.3 | 8.4 | 2015 | ||
| Initializer lists | N2672 | c++11 | A.06.28 | 4.5 | 4.4 | 13.0* 14.0 | 12.0 | 13.1.2* | 5.13 | Yes | 3.1 | 8.4 | 2015 | |
| Lambda expressions | v0.9: N2550 | c++11 | A.06.25 | 4.1(v1.1) | 4.5(v1.1) | 12.0(v1.1) | 10.0(v1.0) 11.0(v1.1) | 13.1.2* | 5.13 | Yes | 3.1 | 8.4 | 2015 | |
| Local and unnamed types as template parameters | N2657 | A.06.27 | 4.2 | 4.5 | 12.0 | 10.0 | 13.1.2* | 5.13 | Yes | 2.9 | 8.4 | 2015 | ||
| long long | N1811 | c++11 | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | 8.4 | 2015 | 
| Inline namespaces | N2535 | c++11 | A.06.28 | 4.5 | 4.4 | 14.0 | 14.0 | 11.1 | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| New character types | N2249 | c++11 | A.06.27 | 4.4 | 4.4 | 12.1* 14.0 | 14.0 | 13.1.1* | 5.13 | Yes | 8.52 | 2.9 | 8.4 | 2015 | 
| Trailing function return types | N2541 | c++11 | A.06.27 | 4.1 | 4.4 | 12.0 | 10.0 | 12.1 | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| nullptr | N2431 | c++11 | A.06.27 | 4.2 | 4.6 | 12.1 | 10.0 | 13.1 | 5.13 | Yes | 8.52 | 2.9 | 8.4 | 2015 | 
| Unicode string literals | N2442 | c++11 | A.06.28 | 4.7 | 4.4 | 11.0* | 14.0 | 10.1* 13.1.1* | 5.7 | Yes | 8.52 | 3.0 | 8.4 | 2015 | 
| Raw string literals | N2442 | c++11 | A.06.28 | 4.7 | 4.5 | 14.0 | 12.0 | 13.1.1* | 5.13 | Yes | 8.52 | Yes | 8.4 | 2015 | 
| User-defined literals | N2765 | c++11 | 4.8 | 4.7 | 15.0 | 14.0 | 13.1.2* | 5.14 | Yes | 3.1 | 8.4 | 2015 | ||
| Right angle brackets | N1757 | c++11 | 4.1 | 4.3 | 11.0 | 8.0 | 12.1 | 5.13 | Yes | Yes | 8.4 | 2015 | ||
| R-value references | v1.0: N2118 | c++11 | A.06.25 | 4.5(v3.0) | 4.3(v1.0) 4.5(v2.1) 4.6(v3.0) | 11.1(v1.0) 12.0(v2.0) 14.0(v3.0) | 10.0(v2.0) 11.0(v2.1) 14.0(v3.0) | 12.1(v2.1) | 5.13 | Yes | Yes | 8.4 | 2015 | |
| static_assert | N1720 | c++11 | A.06.25 | 4.1 | 4.3 | 11.0 | 10.0 | 11.1 | 5.13 | Yes | 8.52 | 2.9 | 8.4 | 2015 | 
| Strongly-typed enum | N2347 | c++11 | A.06.25 | 4.0 | 4.4 | 13.0 | 11.0 | 12.1 | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| Template aliases | N2258 | c++11 | A.06.27 | 4.2 | 4.7 | 12.1 | 12.0 | 13.1.1* | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Thread-local storage | N2659 | c++11 | 4.8 | 4.4* 4.8 | 11.1* 15.0* | 10.0* 14.0 | 10.1* 13.1.2* | 5.9* | Yes | 8.52* | 3.3* 3.3 | 8.4 | 2015 | |
| Unrestricted unions | N2544 | c++11 | A.06.28 | 4.6 | 4.6 | 14.0* | 14.0 | 13.1.2* | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Type traits | N1836 | c++11 | 6.16 | 4.0 | 4.3 | 10.0 | 8.0 | 13.1.3 | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Variadic templates | v0.9: N2242 v1.0: N2555 | c++11 | A.06.27 | 4.1(v0.9) | 4.3(v0.9) 4.4(v1.0) | 12.1(v1.0) | 12.0 | 11.1(v0.9) | 5.13 | Yes | 2.9(v1.0) | 8.4 | 2015 | |
| Range-for loop | N2930 | c++11 | A.06.28 | 4.5 | 4.6 | 13.0 | 11.0 | 13.1.2* | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| override and final | v0.8: N2928 | c++11 | 4.8(v1.0) | 4.7 | 12.0(v0.8) 14.0(v1.0) | 8.0(v0.8) 11.0(v1.0) | 13.1.1* | 5.13 | Yes | 2.9 | 8.4 | 2015 | ||
| Attributes | N2761 | c++11 | A.06.27 | 4.2 | 4.8 | 12.1 | 14.0 | 13.1.1* | 5.13 | Yes | 3.3 | 8.4 | 2015 | |
| ref-qualifiers | N2439 | c++11 | A.06.28 | 4.7 | 4.8.1 | 14.0 | 14.0 | 13.1.2* | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| Non-static data member initializers | N2756 | c++11 | A.06.28 | 4.6 | 4.7 | 14.0 | 12.0 | 13.1.2* | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Dynamic initialization and destruction with concurrency (magic statics) | N2660 | c++11 | A.06.25 | Yes | 4.3 | 11.1* | 14.0 | 13.1.2* | 5.13 | Yes | 2.9 | 8.4 | 2015 | |
| noexcept | N3050 | c++11 | A.06.28 | 4.5 | 4.6 | 14.0 | 14.0 | 13.1.1* | 5.13 | Yes | 3.0 | 8.4 | 2015 | |
| Tweaked wording for contextual conversions | N3323 | c++14-lang | 4.9 | 4.9 | 16.0 | 12.0 | 13.1.2* | 3.4 | ||||||
| Binary literals | N3472 | c++14-lang | 4.10 | 4.3/4.9 | 11.0 | 14.0 | 13.1.2* | 5.14 | 2.9 | 2015 | ||||
| decltype(auto), Return type deduction for normal functions | N3638 | c++14-lang | 4.9 | 4.8/4.9 | 15.0 | 14.0 | 13.1.2* | 3.3/3.4 | ||||||
| Initialized/Generalized lambda captures (init-capture) | N3648 | c++14-lang | 4.10 | 4.5/4.9 | 15.0 | 14.0 | 3.4 | ? | ||||||
| Generic (polymorphic) lambda expressions | N3649 | c++14-lang | 4.10 | 4.9 | 16.0 | 14.0 | 13.1.2* | 3.4 | ? | |||||
| Variable templates | N3651 | c++14-lang | 5.0 | 14.2 | 13.1.2* | 3.4 | ||||||||
| Extended constexpr | N3652 | c++14-lang | 5 | 13.1.2* | 3.4 | |||||||||
| Member initializers and aggregates (NSDMI) | N3653 | c++14-lang | 4.9 | 5 | 16.0 | 5.14 | 3.3 | |||||||
| Clarifying memory allocation (avoiding/fusing allocations) | N3664 | c++14-lang | N/A | N/A | N/A | 3.4 | ||||||||
| Deprecated attribute | N3760 | c++14-lang | 4.9 | 4.9 | 15.0* | 14.0 | 13.1.2* | 5.14 | 3.4 | |||||
| Sized deallocation | N3778 | c++14-lang | 4.10.1 | 5 | 14.0 | 5.14 | 3.4 | |||||||
| Single quote as digit separator | N3781 | c++14-lang | 4.10 | 4.9 | 16.0 | 14.0 | 13.1.2* | 5.14 | 3.4 | 2015 | ||||
| std::result_of and SFINAE | N3462 | c++14 | N/A | 5.0 | N/A | 14.2 | Yes | Yes | ||||||
| constexprfor<complex> | N3302 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| constexprfor<chrono> | N3469 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| constexprfor<array> | N3470 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| constexprfor<initializer_list>,<utility>and<tuple> | N3471 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| Improved std::integral_constant | N3545 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| User-defined literals for <chrono>and<string> | N3642 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| Null forward iterators | N3644 | c++14 | N/A | 5.0* | N/A | 14.0 | 3.4 | |||||||
| std::quoted | N3654 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| Heterogeneous associative lookup | N3657 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| std::integer_sequence | N3658 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| std::shared_mutex (timed) | N3659 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| std::exchange | N3668 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| fixing constexprmember functions withoutconst | N3669 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| std::get<T>() | N3670 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| Dual-Range std::equal, std::is_permutation, std::mismatch | N3671 | c++14 | N/A | 5.0 | N/A | 14.0 | 3.4 | |||||||
| Improving std::pair and std::tuple | N4387 | c++17 | N/A | Yes | N/A | 14.2 | ||||||||
| std::shared_mutex (untimed) | N4508 | c++17 | N/A | 6.0 | N/A | Yes | 3.7 | |||||||
| __has_include in preprocessor conditionals | P0061R1 | c++17 | 5.0 | Yes | 
* - hover over the version number to see notes
[edit] References
Individual vendor compatibility checklists (these are more up-to-date than the table above)
- GCC (Updated 2015-12)
- 
- C++11 core language support status (complete as of 4.8.1)
- C++14 core language support status (complete as of 5.0)
- C++17 core language support status
- C++11 library support status (complete as of 5.0)
- C++14 library support status (complete as of 5.0)
- Technical Specifications support status
- C++17 library support status
 
- Clang++ (Updated 2015-12)
- 
- C++11 core language support status (complete as of 3.3)
- C++11 library support status (complete as of 2012-07-29)
- C++14 core language support status (complete as of 3.4)
- C++14 library support status (complete as of 3.5)
- Technical Specifications support status
- C++17 core language support status
- Core language defect report status
- C++17 library support status
 
- Microsoft Visual Studio (updated 2016-01)
- 
- C++11/C++14/C++17 core language support status
 - 
- C++11/14/17 core language support status in VS2010, VS2012, VS2013, and VS2015
- VS2013 vs. VS2015 CTP0
- VS2013 vs. VS2015 CTP1
- VS2013 vs. VS2015 CTP3 (includes the roadmap table)
- VS2015 ("VS14") preview
- VS2015 ("VS14") release candidate (C++11 remains incomplete, but C++17 support appears)
 
 - C++11 and C++14 library support status
- C++11/14/17 Features In VS 2015 RTM including core language and standard library (including technical specifications)
- C++14/17 features in VS 2015 Update 2 standard library library is feature complete up to current C++17 with few minor issues (some defect reports, some constexprs, etc)
 
- Intel C++ (Updated 2016-01)
- 
- C++11 core language support status (complete as of 15.0)
- C++14 core language support status (incomplete)
- Intel does not ship an implementation of the C++ standard library
 
- EDG (Updated 2016-01)
- 
- C++11 core language support status
- C++14 core language support status
- EDG does not ship an implementation of the C++ standard library
 
- Oracle C++ (updated 2016-01)
- 
- C++14 features added in 5.14
- Oracle ships three implementations of the C++ standard library:
 - 
- libCstd (RogueWave Standard Library version 2), predates C++98
- stlport4 (STLport Standard Library version 4.5.3), predates C++03
- stdcxx4 (Apache Standard Library version 4), predates C++11
 
 
- IBM XL C++ (updated 2015-12)
- 
- C++11 core language support status (v 13.1 for AIX)
- IBM ships a version of Dinkumware library for AIX with full support for C++ TR1, including <regex>, but no C++11
- C++11 core language support status (v 13.1.1 for Linux)
- IBM does not ship an implementation of C++ standard library for Linux (uses GNU libstdc++)
- C++11/C++14 core language support status (v 13.1.2 for Little Endian Linux / zLinux Big Endian)
 
- HP aCC
- 
- C++11 core language support status
- HP ships a version of RogueWave STL 2.0 implementation of the C++98 standard library
 
- Digital Mars C++
- Embarcadero C++
- 
- C++11 core language support status (C++ Builder 10 Seattle for Windows 32/64, iOS and Android clang-enhanced compilers) [1]
 
- Cray (updated 2015-12)
- 
- [2] For version 8.4, claims all of C++11 is supported except alignas
 
- Portland Group (PGI) (updated 2015-12)
- 
- [3] Release notes for 2015 claim full C++11, incremental C++14. The C++14 support includes "lambdas" but that could refer to either or both of 2 different working papers, N3648 or N3649