https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101485
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- #include <algorithm> enum E { e }; bool operator==(E, E) { return false; } int main() { E e[1]; return std::equal(e, e+1, e); }
redi at gcc dot gnu.org via Gcc-bugs Fri, 28 Jun 2024 03:32:39 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101485
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- #include <algorithm> enum E { e }; bool operator==(E, E) { return false; } int main() { E e[1]; return std::equal(e, e+1, e); }