Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the status of C++17 support in GCC?

Tags:

c++

gcc

clang++

Clang has a nice page describing the project status w.r.t. C++1z/C++17 feature support (and C++11 and C++14, it's the same page).

g++ has a page regarding C++14 features, but I couldn't find anything about C++17/C++1z. Is that being worked on but just not present on the web? For version 5.0?

like image 428
einpoklum Avatar asked Jul 05 '15 12:07

einpoklum


People also ask

Is C++17 supported?

C++17 Support in GCCGCC has almost full support for the previous revision of the C++ standard, which was published in 2017. Some library features are missing or incomplete, as described in the library documentation.

What version of C does GCC support?

GCC supports three versions of the C standard, although support for the most recent version is not yet complete. The original ANSI C standard (X3. 159-1989) was ratified in 1989 and published in 1990. This standard was ratified as an ISO standard (ISO/IEC 9899:1990) later in 1990.

Does GCC support C ++ 11?

GCC provides experimental support for the 2011 ISO C++ standard. This support can be enabled with the -std=c++11 or -std=gnu++11 compiler options; the former disables GNU extensions. As of GCC 4.8.


1 Answers

As of today, gcc's C++1z language support is tracked on: https://gcc.gnu.org/projects/cxx1z.html. For the C++1z status of libstdc++, see https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.201z.

like image 191
Jan van Dijk Avatar answered Sep 22 '22 14:09

Jan van Dijk