7
New C++ features in GCC 15 (developers.redhat.com)
submitted 1 month ago by [email protected] to c/[email protected]

Like every major GCC release, this version will bring many additions, improvements, bug fixes, and new features. GCC 15 is already the system compiler in Fedora 42. Red Hat Enterprise Linux (RHEL) users will get GCC 15 in the Red Hat GCC Toolset. It's also possible to try GCC 15 on Compiler Explorer and similar pages.

This article describes only new features implemented in the C++ front end; it does not discuss developments in the C++ language itself.

The default dialect in GCC 15 is still -std=gnu++17. You can use the -std=c++23 or -std=gnu++23 command-line options to enable C++23 features, and similarly for C++26 and others.

no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 25 Apr 2025
7 points (100.0% liked)

C & C++

982 readers
1 users here now

founded 5 years ago
MODERATORS