[libc++] Implement ranges::replace{, _if}
authorNikolas Klauser <nikolasklauser@berlin.de>
Tue, 7 Jun 2022 07:42:10 +0000 (09:42 +0200)
committerNikolas Klauser <nikolasklauser@berlin.de>
Fri, 10 Jun 2022 09:54:46 +0000 (11:54 +0200)
commitff6d5dee713c50dd41ef1a70dabe6850aff78e42
tree2fbc8a33597d7f175868732c91c8ccc9a705b3e9
parentd77f944832ae6fcb33397072c717c7971df6d3ee
[libc++] Implement ranges::replace{, _if}

Reviewed By: var-const, #libc

Spies: libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D126283
13 files changed:
libcxx/docs/Status/RangesAlgorithms.csv
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/ranges_replace.h [new file with mode: 0644]
libcxx/include/__algorithm/ranges_replace_if.h [new file with mode: 0644]
libcxx/include/algorithm
libcxx/include/module.modulemap.in
libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
libcxx/test/libcxx/private_headers.verify.cpp
libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges.replace.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ranges.replace_if.pass.cpp [new file with mode: 0644]
libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp
libcxx/test/support/almost_satisfies_types.h