-
Clang has partial C++20 support that can be enabled with the option
-std=c++20(version 10 and later) or-std=c++2a(version 9 and earlier).[129] - EDG eccp started implementing C++20 features in version 5.0 and as of version 6.1 supports most C++20 core language features.[130]
- GCC added partial, experimental C++20 support in 2017[132]
-
Microsoft Visual Studio supports some C++20 features through its
std:c++latestoption. An option/std:c++20to enable C++20 mode is expected as soon as the compiler is C++20 feature complete.[133]
相关文章: