[libcxx-commits] [PATCH] D110735: [libc++] [P1614] Implement std::compare_three_way.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 8 14:48:12 PDT 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp:61
+    static_assert(   is_transparent<std::compare_three_way>::value, "" );
+#endif
+
----------------
Bother. @ldionne, is there anything clever we could do here, to avoid splitting this one line out into a separate test marked `UNSUPPORTED: libcpp-no-concepts`?  I'll split it out if I need to, but I'm hoping that there's a clever approach I'm forgetting about.
`std::compare_three_way` does not exist unless `!defined(_LIBCPP_HAS_NO_CONCEPTS)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110735



More information about the libcxx-commits mailing list