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

Christopher Di Bella via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 18 10:14:04 PDT 2024


================
@@ -37,6 +38,20 @@ concept three_way_comparable =
       { __a <=> __b } -> __compares_as<_Cat>;
     };
 
+#  if _LIBCPP_STD_VER >= 23
----------------
cjdb wrote:

I'd prefer we invert this, so that we have "before C++23" and "since C++23". Had to strain a little to realise that this was since/before. Same for other files, please :)

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


More information about the libcxx-commits mailing list