[libcxx-commits] [PATCH] D148416: [libc++][spaceship] Implement `operator<=>` for `multiset` and `set`

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 27 08:54:14 PDT 2023


Mordante accepted this revision.
Mordante added inline comments.


================
Comment at: libcxx/test/std/containers/associative/set/set.nonmember/compare.three_way.verify.cpp:44-45
+    std::set<int, std::less<float>> s2;
+    // expected-error at +1 {{invalid operands to binary expression}}
+    s1 <=> s2;
+    // expected-error at +1 {{invalid operands to binary expression}}
----------------
Mainly for your information, for short lines you can use this too.
Since our CI has some issues at the moment feel free to land it as is.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148416/new/

https://reviews.llvm.org/D148416



More information about the libcxx-commits mailing list