[libcxx-commits] [libcxx] [libc++][spaceship] P2404R3: Move-only types for equality_comparable_with, totally_ordered_with, and three_way_comparable_with (PR #99420)

Janet Cobb via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 17 20:28:45 PDT 2024


================
@@ -37,6 +38,20 @@ concept three_way_comparable =
       { __a <=> __b } -> __compares_as<_Cat>;
     };
 
+#  if _LIBCPP_STD_VER >= 23
+
+template <class _Tp, class _Up, class _cat = partial_ordering>
----------------
randomnetcat wrote:

Yep, sorry. Fixed.

https://github.com/llvm/llvm-project/pull/99420


More information about the libcxx-commits mailing list