https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- If the comparison happens in a template, GCC rejects it (see PR 113200).
redi at gcc dot gnu.org via Gcc-bugs Wed, 03 Jan 2024 05:04:03 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- If the comparison happens in a template, GCC rejects it (see PR 113200).