You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume that this would be fixed by implementing < in terms of < and <= in terms of <= etc, rather than implementing only one and using the default methods for the others.
This is now done, thanks @bluss; and with the advent of partial_cmp and the iterator functions defined in #8400 it's now easier to be correct than incorrect, which is nice. (I also checked everything in collections.)
They assume total ordering semantics are implemented by the underlying types.
We need to clarify the semantics that are desired from lexicographic ordering in the first place, and implement this consistently/correctly.
Test cases are needed to prevent regressions in these implementations too.
The text was updated successfully, but these errors were encountered: