[libcxx-commits] [PATCH] D130599: [libc++] Implement ranges::remove_copy{, _if}

Hui via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 28 08:56:42 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, huixie90.
Herald added a project: All.
huixie90 updated this revision to Diff 448352.
huixie90 added a comment.
huixie90 added reviewers: var-const, philnik.
huixie90 published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

- finalise `ranges::remove_copy{_if}`
- fixed a bug where `ranges::remove_copy_if` got the predicate inverted
- enabled all the "robust" tests
- added tests for `ranges::remove_copy_if`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130599

Files:
  libcxx/docs/Status/RangesAlgorithms.csv
  libcxx/include/__algorithm/ranges_remove_copy.h
  libcxx/include/__algorithm/ranges_remove_copy_if.h
  libcxx/include/algorithm
  libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
  libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy.pass.cpp
  libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ranges_remove_copy_if.pass.cpp
  libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_dangling.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_nonbool_predicates.pass.cpp
  libcxx/test/std/algorithms/ranges_robust_against_omitting_invoke.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
  libcxx/test/support/counting_projection.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130599.448352.patch
Type: text/x-patch
Size: 38710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220728/930303ca/attachment-0001.bin>


More information about the libcxx-commits mailing list