[libcxx-commits] [PATCH] D100429: [libc++][ranges] Add range.cmp: equal_to, not_equal_to, less, etc.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 13 17:30:48 PDT 2021


zoecarver added a comment.

I should have mentioned: this implements LWG3530 <https://cplusplus.github.io/LWG/issue3530>.



================
Comment at: libcxx/include/functional:3226
 
+#if !defined(_LIBCPP_HAS_NO_RANGES)
+
----------------
@ldionne want me to break this out into its own header?


================
Comment at: libcxx/test/std/utilities/function.objects/range.cmp/less.pass.cpp:23
+// TODO: find a type that has a builtin type that has operator< but is not totally ordered
+// to test LWG3530.
+
----------------
Can anyone think of a type for this? If not, I'll just remove the comment. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100429



More information about the libcxx-commits mailing list