weak_equality and strong_equality were removed before being
standardised, and need to be removed.
Also adjusts common_comparison_category since its test needed
adjusting due to the equality deletions.
Paths
| Differential D100283
[libcxx] removes `weak_equality` and `strong_equality` from <compare> ClosedPublic Authored by cjdb on Apr 11 2021, 10:27 PM.
Details
Summary weak_equality and strong_equality were removed before being Also adjusts common_comparison_category since its test needed
Diff Detail
Event TimelineComment Actions I downloaded the raw diffs for D74186 and D100283, applied them in separate git branches, and then did git diff barry chris to find the places they differed.
This revision now requires changes to proceed.May 2 2021, 3:06 PM Comment Actions
Thanks! I assumed D74186 would take priority (but needed this to be open since D74186 is old and downstream patches depend on this one). Closed by commit rG4ff2fe1df0ce: [libcxx] removes `weak_equality` and `strong_equality` from <compare> (authored by cjdb). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 342291 libcxx/include/compare
libcxx/test/std/language.support/cmp/cmp.common/common_comparison_category.pass.cpp
libcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.strongeq/cmp.strongeq.pass.cpp
libcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.weakeq/cmp.weakeq.pass.cpp
libcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp
|
Instead of deleting these lines, change weak_equality to partial_ordering.
I think this was probably a cut-and-paste error in the original? Anyway, is_eq(partial_ordering) still exists and should be synopsized here.