[libcxx-commits] [PATCH] D130758: [libc++][ranges] Implement `ranges::rotate`.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 29 04:49:52 PDT 2022


var-const created this revision.
Herald added a subscriber: mgorny.
Herald added a project: All.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Also fix `ranges::stable_sort` and `ranges::inplace_merge` to support
proxy iterators now that their internal implementations can correctly
dispatch `rotate`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130758

Files:
  libcxx/docs/Status/RangesAlgorithms.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__algorithm/algorithm_family.h
  libcxx/include/__algorithm/inplace_merge.h
  libcxx/include/__algorithm/iterator_operations.h
  libcxx/include/__algorithm/move.h
  libcxx/include/__algorithm/move_backward.h
  libcxx/include/__algorithm/ranges_move.h
  libcxx/include/__algorithm/ranges_rotate.h
  libcxx/include/__algorithm/rotate.h
  libcxx/include/__algorithm/stable_partition.h
  libcxx/include/__algorithm/swap_ranges.h
  libcxx/include/__iterator/reverse_iterator.h
  libcxx/include/algorithm
  libcxx/include/module.modulemap.in
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ranges_rotate.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_proxy_iterators.pass.cpp
  libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130758.448584.patch
Type: text/x-patch
Size: 40242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220729/425d78d3/attachment-0001.bin>


More information about the libcxx-commits mailing list