[Bug libstdc++/106802] Comparators in don't work with orderings in

2022-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106802 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug libstdc++/106802] Comparators in don't work with orderings in

2022-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106802 --- Comment #1 from Jonathan Wakely --- (In reply to Aaron Graham from comment #0) > Even though `std::strong_ordering::less < 0` is perfectly legal and > well-formed. I disagree. [cmp.categories.pre] p3 says: The relational and equality op