[libcxx-commits] [PATCH] D105456: [libcxx][algorithms] adds `std::ranges::find`

Michael Schellenberger Costa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 6 05:55:57 PDT 2021


miscco added inline comments.


================
Comment at: libcxx/include/__algorithm/find.h:68
+    requires indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Rp>, _Proj>, const _Tp*>
+    _LIBCPP_NODISCARD_EXT constexpr borrowed_iterator_t<_Rp> operator()(_Rp&& __r, const _Tp& __value, _Proj proj = {}) const
+    {
----------------
also `proj` needs to be ugly `__proj`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105456



More information about the libcxx-commits mailing list