[libcxx-commits] [PATCH] D151265: [libc++] Introduce __for_each_segment and use it in copy/move

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 24 08:17:03 PDT 2023


ldionne added inline comments.


================
Comment at: libcxx/include/__algorithm/for_each_segment.h:21
+
+template <class _SegmentedIterator, class _Functor>
+_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 void
----------------
ldionne wrote:
> Can you please document what this function does in a comment?
In particular please document the input and expected output of the `__func` you're taking.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151265



More information about the libcxx-commits mailing list