[libc++] Implement ranges::find_end, ranges::search{, _n}
authorNikolas Klauser <nikolasklauser@berlin.de>
Wed, 13 Jul 2022 16:07:26 +0000 (18:07 +0200)
committerNikolas Klauser <nikolasklauser@berlin.de>
Wed, 13 Jul 2022 18:30:55 +0000 (20:30 +0200)
commit101d1e9b3c867b2fbb9d1b2c196e2f0fcf3467c7
treecdc5c1042be9f942007b43ae226e23d49fa4d556
parent9d24eba04dd07264cb44620f3a0c8365b7ebefb0
[libc++] Implement ranges::find_end, ranges::search{, _n}

Reviewed By: var-const, #libc, huixie90

Spies: thakis, h-vetinari, huixie90, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D124079
22 files changed:
libcxx/docs/Status/RangesAlgorithms.csv
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/find_end.h
libcxx/include/__algorithm/iterator_operations.h
libcxx/include/__algorithm/ranges_find_end.h [new file with mode: 0644]
libcxx/include/__algorithm/ranges_search.h [new file with mode: 0644]
libcxx/include/__algorithm/ranges_search_n.h [new file with mode: 0644]
libcxx/include/__algorithm/search.h
libcxx/include/__algorithm/search_n.h
libcxx/include/__algorithm/set_intersection.h
libcxx/include/__functional/default_searcher.h
libcxx/include/__iterator/iterator_traits.h
libcxx/include/__string/char_traits.h
libcxx/include/algorithm
libcxx/include/experimental/functional
libcxx/include/module.modulemap.in
libcxx/test/libcxx/algorithms/ranges_robust_against_copying_comparators.pass.cpp
libcxx/test/libcxx/private_headers.verify.cpp
libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ranges.find_end.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ranges.search_n.pass.cpp [new file with mode: 0644]
libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp