https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96185
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > Not as a DR, absolutely not. There is no defect. > > It could be supported in non-strict modes as an extension, if the syntax > doesn't conflict with anything a valid program would use. Yeah, usually it is something with pedwarn, i.e. accepted in -std=c++2b/-std=gnu++2b mocdx, a warning in -std=gnu++20/-std=gnu++17 etc. and an error with -std=c++20/-std=c++17.