https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jean-Michaƫl Celerier from comment #0) > g++ does not, but I guess this still warrants checking ? N.B. GCC does give an error if you compile with -Wpedantic -std=c++20