[libcxx-commits] [PATCH] D131372: Implement std::variant::operator<=>

Kent Ross via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Aug 7 19:24:41 PDT 2022


mumbleskates added a comment.

Updated SpaceshipProjects and added the missing monostate operator as well



================
Comment at: libcxx/test/std/utilities/variant/variant.relops/three_way.pass.cpp:55
+template <class Var, class Order>
+constexpr bool test_three_way_val(const Var &l, const Var &r, Order order) {
+  static_assert(std::is_same_v<decltype(l <=> r), Order>);
----------------
avogelsgesang wrote:
> seems to be unused?
thanks! i discovered test_comparisons.h halfway through making this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131372



More information about the libcxx-commits mailing list