https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96731
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Severity|normal |enhancement Last reconfirmed| |2020-08-21 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Since it's undefined, we can do whatever we want, including causing compilation to fail with a static_assert, or ignoring it (as libc++ seems to do), or using another condition to check for sufficiently integer-like types (possibly only in non-strict modes). Confirming as an enhancement request.