[libcxx-commits] [PATCH] D144262: [libc++][ranges] Implement LWG-3865 Sorting a range of pairs
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 27 10:23:37 PST 2023
ldionne added a comment.
I think we should implement this as a DR in all supported modes, like any normal LWG issue. I would only change this stance if we find actual breakage in the wild of crazy incompatibilities with older standard modes.
================
Comment at: libcxx/test/std/utilities/utility/pairs/pairs.spec/three_way_comparison.pass.cpp:13
-// template <class T1, class T2> bool operator<=>(const pair<T1,T2>&, const pair<T1,T2>&);
+// template <class T1, class T2, class U1, class U2>
+// constexpr common_comparison_category_t<synth-three-way-result<T1, U1>,synth-three-way-result<T2, U2>>
----------------
Do you not need actual changes to the tests below?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144262/new/
https://reviews.llvm.org/D144262
More information about the libcxx-commits
mailing list