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

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 23 15:22:47 PDT 2023


philnik created this revision.
philnik added reviewers: ldionne, Mordante.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This simplifies the code inside copy/move and makes it easier to apply the optimization to other algorithms.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151265

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__algorithm/copy.h
  libcxx/include/__algorithm/for_each_segment.h
  libcxx/include/__algorithm/move.h
  libcxx/include/module.modulemap.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151265.524905.patch
Type: text/x-patch
Size: 7569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230523/32b517f0/attachment-0001.bin>


More information about the libcxx-commits mailing list