https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122994 --- Comment #1 from Maxime Coste <mawww at kakoune dot org> --- I think https://eel.is/c++draft/basic.link#14.2 is the relevant standard clause that specifies that initializers should be ignored.