On this page
Compiler support for C++26
C++26 core language features
C++26 feature |
Paper(s) |
GCC
|
Clang
|
MSVC
|
Apple Clang
|
EDG eccp
|
Intel C++
|
IBM XL C++
|
IBM Open XL C++ for AIX
|
IBM Open XL C++ for z/OS
|
Sun/Oracle C++
|
Embarcadero C++ Builder
|
Cray
|
Nvidia HPC C++ (ex PGI)*
|
Nvidia nvcc
|
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR23: Removing undefined behavior from lexing | P2621R2 | Yes | 3.3 | |||||||||||||
DR: Making non-encodable string literals ill-formed | P1854R4 | 14 | 14 | |||||||||||||
Unevaluated strings | P2361R6 | 14 | 17 (partial)* 18 |
|||||||||||||
Adding @ , $ , and ` to the basic character set |
P2558R2 | Yes | ||||||||||||||
constexpr cast from void* |
P2738R1 | 14 | 17 | |||||||||||||
DR: On the ignorability of standard attributes | P2552R2 | |||||||||||||||
DR: Static storage for braced initializers | P2752R2 | 14 | ||||||||||||||
User-generated static_assert messages |
P2741R3 | 14 | 17 | |||||||||||||
Placeholder variables with no name | P2169R4 | 14 | 18 | |||||||||||||
Pack indexing | P2662R3 | |||||||||||||||
Removing deprecated arithmetic conversion on enumerations | P2864R2 | 14 | 18 | |||||||||||||
DR20: Template parameter initialization | P2308R1 | 18 | ||||||||||||||
C++26 feature |
Paper(s) |
GCC
|
Clang
|
MSVC
|
Apple Clang
|
EDG eccp
|
Intel C++
|
IBM XL C++
|
IBM Open XL C++ for AIX
|
IBM Open XL C++ for z/OS
|
Sun/Oracle C++
|
Embarcadero C++ Builder
|
Cray
|
Nvidia HPC C++ (ex PGI)*
|
Nvidia nvcc
|
C++26 library features
C++26 feature |
Paper(s) |
GCC libstdc++
|
Clang libc++
|
MSVC STL
|
Apple Clang*
|
IBM Open XL C/C++ for AIX*
|
Sun/Oracle C++*
|
Embarcadero C++ Builder*
|
|
---|---|---|---|---|---|---|---|---|---|
Testing for success or failure of <charconv> functions |
P2497R0 | 14 | 18 | ||||||
std::text_encoding : text encodings identification |
P1885R12 | ||||||||
Arithmetic overloads of std::to_string and std::to_wstring use std::format |
P2587R3 | 14 | |||||||
Type checking format args | P2757R3 | ||||||||
Formatting pointers | P2510R3 | 14 | 17 | ||||||
Hashing support for std::chrono value classes |
P2592R3 | ||||||||
Read-Copy Update | P2545R4 | ||||||||
Hazard Pointers | P2530R3 | ||||||||
ADL-proof std::projected |
P2538R1 | 14 | 18 | 19.38* | |||||
constexpr stable sorting | P2562R1 | ||||||||
Member visit |
P2637R3 | ||||||||
std::is_within_lifetime in constant evaluation |
P2641R4 | ||||||||
Extending associative containers with the remaining heterogeneous overloads | P2363R5 | ||||||||
Enabling the use of std::weak_ptr as keys in unordered associative containers |
P1901R2 | ||||||||
Native handles in file streams | P1759R6 | 14 | 18 | ||||||
Interfacing string streams with std::string_view |
P2495R3 | ||||||||
Interfacing std::bitset with std::string_view |
P2697R1 | ||||||||
More constexpr for <cmath> and <complex> |
P1383R2 | 4.6 (partial)* | |||||||
Adding the new 2022 SI prefixes on ratios: std::quecto , std::ronto , std::ronna , and std::quetta |
P2734R0 | 14 | 17 | ||||||
std::function_ref : type-erased callable reference |
P0792R14 | ||||||||
std::copyable_function |
P2548R6 | ||||||||
std::bind_front , std::bind_back , and std::not_fn to NTTP callables |
P2714R1 | ||||||||
std::submdspan() |
P2630R4 | ||||||||
Freestanding Language: Optional ::operator new | P2013R5 | N/A | |||||||
Saturation Arithmetic | P0543R3 | 14 | |||||||
<debugging> : Debugging Support |
P2546R5 | ||||||||
<linalg> : A free function linear algebra interface based on the BLAS |
P1673R13 | ||||||||
Making assert() macro user friendly |
P2246R2 | ||||||||
Runtime format strings | P2918R2 | 18 | |||||||
std::span over an initializer list |
P2447R4 | ||||||||
std::span::at() |
P2821R5 | 14 | 18 | ||||||
Added tuple protocol to std::complex |
P2819R1 | ||||||||
A new specification for std::generate_canonical |
P0952R1 | ||||||||
Removing deprecated typedef std::allocator::is_always_equal |
P2868R1 | ||||||||
Removing function overload of std::basic_string::reserve() that takes no argument |
P2870R3 | 18 | |||||||
Remove deprecated Unicode conversion facets (<codecvt> ) |
P2871R3 | 18 | |||||||
Freestanding: removing strtok |
P2937R0 | 14 | 19.39 (17.10)* | ||||||
Freestanding Library: Partial Classes | P2407R5 | 14 | |||||||
Freestanding Library: inout expected span | P2833R2 | 14 | |||||||
DR23: std::basic_const_iterator should follow its underlying type’s convertibility |
P2836R1 | 19.39 (17.10)* | |||||||
DR23: std::make_format_args now accepts only lvalue references instead of forwarding references |
P2905R2 | 18 | |||||||
DR23: Fix formatting of code units as integers | P2909R4 | 19.39 (17.10)* | |||||||
C++26 feature |
Paper(s) |
GCC libstdc++
|
Clang libc++
|
MSVC STL
|
Apple Clang*
|
IBM Open XL C/C++ for AIX*
|
Sun/Oracle C++*
|
Embarcadero C++ Builder*
|
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/compiler_support/26