Get the latest tech news

New C++ features in GCC 15


Explore new C++ front-end features in GCC 15.1, including pack indexing and structured binding declaration as a condition

C++26 features in GCC 15 include pack indexing, attributes for structured bindings, enhanced support for functions whose definition consists of=delete, and more. DR 2918 deals with deduction from an overload set when multiple candidates succeed and have the same type; the most constrained function is selected. As usual, I'd like to thank my coworkers at Red Hat who made the GNU C++ compiler so much better, notably Jason Merrill, Jakub Jelinek, Patrick Palka, and Jonathan Wakely.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of GCC 15

GCC 15

Photo of New C++

New C++

Related news:

News photo

GCC 15 is close: COBOL and Itanium are in, but ALGOL is out

News photo

GCC 15 to keep Itanium support for now, after all