Compiling as C++20 (bug 1768116) is prerequisite for compiling as C++23. When compiling as C++23, `__cplusplus == 202302L` (though as of 2024-012-18, gcc 13 defines `__cplusplus == 202100L` because its C++23 support is still experimental). Summary of C++23 language changes: https://en.cppreference.com/w/cpp/23 Clang's C++23 support: https://clang.llvm.org/cxx_status.html#cxx23 GCC's C++23 support: https://gcc.gnu.org/projects/cxx-status.html#cxx23
Bug 1880762 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Compiling as C++20 (bug 1768116) is prerequisite for compiling as C++23. When compiling as C++23, `__cplusplus == 202302L`. Summary of C++23 language changes: https://en.cppreference.com/w/cpp/23 Clang's C++23 support: https://clang.llvm.org/cxx_status.html#cxx23 GCC's C++23 support: https://gcc.gnu.org/projects/cxx-status.html#cxx23