'"[…] 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. […] C++26 features in #GCC15 include pack indexing, attributes for structured bindings, enhanced support for functions whose definition consists of =delete, and more. […] A number of defect reports were resolved in GCC 15. A few examples follow. […] C++11 attributes in C++98 […]"'
https://developers.redhat.com/articles/2025/04/24/new-c-features-gcc-15
