https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86974
Marc Mutz <marc.mutz at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.mutz at hotmail dot com --- Comment #5 from Marc Mutz <marc.mutz at hotmail dot com> --- Not really superseded by constinit. constinit is only available in C++20. If you want constinit, you get all of C++20. OTOH, [[clang::require_constant_initialization]] works all the way back to C++11.