[libcxx-commits] [PATCH] D144262: [libc++][ranges] Implement LWG-3865 Sorting a range of pairs
Igor Zhukov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 8 02:14:34 PST 2023
fsb4000 added inline comments.
================
Comment at: libcxx/test/std/utilities/utility/pairs/pairs.spec/three_way_comparison.pass.cpp:39
+ assert((P1(2, 1) <=> P2(1, 2)) == std::strong_ordering::greater);
+ assert((P1(0, 0) <=> P2(0, 0)) == std::strong_ordering::equal);
+ }
----------------
Mordante wrote:
> I would like to see a few more tests `int <=> double`, `int <=> string`.
I added `int <=> double`
But what test do you want with `int <=> string` ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144262/new/
https://reviews.llvm.org/D144262
More information about the libcxx-commits
mailing list