[libcxx-commits] [PATCH] D115122: [libc++] [ranges] Implement views::take, views::drop, ranges::equal. [WIP, needs tests]

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 7 13:35:05 PST 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/include/__algorithm/ranges_equal.h:88-90
+inline namespace __cpo {
+  inline constexpr auto equal = __equal::__fn{};
+} // namespace __cpo
----------------
philnik wrote:
> What is the rationale behind this namespace? Is there some requirement?
See https://reviews.llvm.org/D105456#2945862
and https://reviews.llvm.org/D107098#inline-1019805
and (as of today) https://quuxplusone.github.io/blog/2021/12/07/namespace-cpo/ :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115122



More information about the libcxx-commits mailing list