https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah it changed in C++20, previously it said "T shall be an integral type" so was just UB.
redi at gcc dot gnu.org via Gcc-bugs Fri, 10 Nov 2023 04:12:29 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah it changed in C++20, previously it said "T shall be an integral type" so was just UB.