https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70816
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Our std::char_traits has similar branches for constant evaluation (and the rest of the library does too for memcpy etc.)
redi at gcc dot gnu.org via Gcc-bugs Wed, 15 Dec 2021 15:50:18 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70816
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Our std::char_traits has similar branches for constant evaluation (and the rest of the library does too for memcpy etc.)