GCC Finishing Up C++17 Adjustments, Preparing For C++2A

Written by Michael Larabel in GNU on 15 September 2017 at 09:10 AM EDT. 31 Comments
GNU
While C++17 was just formally approved days ago and is now waiting for ISO publication, GCC (and Clang) developers have largely finished up their C++17 (formerly known as "C++1z") support for some time. There are just a few lingering patches for GCC and already are beginning to lay the ground work for C++2a.

There's the longstanding GCC C++ status page where it does show all the major features of C++17/C++1z are complete in GCC 7. Red Hat's Jakub Jelinek sent out a patch this week with the final adjustments and now that C++1z is indeed going to be called C++17 officially.

Meanwhile, there's another patch for introducing -std=gnu++2a and -std=c++2a. This will be the next C++ standard, likely to be called C++20 as it is expected to arrive in the year 2020.

For C++20 it's anticipated to see introduced concepts, designated initializers, coroutines, modules, transactional memory, and reflection, among other language additions and improvements to the C++ standard library. As usual with most C++ revisions, expect to see these features added over the next few years in-step during the C++20/C++2a development.

Clang has also already been working on early changes for the next C++ standard with their C++17 support also into shape. Their current status can be found documented here.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week