[libc++][ranges] Implement ranges::find{, _if, _if_not}
authorNikolas Klauser <nikolasklauser@berlin.de>
Sat, 12 Mar 2022 00:45:35 +0000 (01:45 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Sat, 12 Mar 2022 00:46:02 +0000 (01:46 +0100)
commitee0f8c4010309a25c95115a9f727a02741e2de48
treebda734fd44736ef7a37bfe458ac0bd34f239b8d7
parent55a970fbd444a42be5c12f11787b999097e6f7ea
[libc++][ranges] Implement ranges::find{, _if, _if_not}

Reviewed By: var-const, #libc, ldionne

Spies: ldionne, tcanens, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D121248
15 files changed:
libcxx/docs/Status/RangesAlgorithms.csv
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/ranges_find.h [new file with mode: 0644]
libcxx/include/__algorithm/ranges_find_if.h [new file with mode: 0644]
libcxx/include/__algorithm/ranges_find_if_not.h [new file with mode: 0644]
libcxx/include/algorithm
libcxx/include/module.modulemap
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_find.module.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_find_if.module.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/diagnostics/detail.headers/algorithm/ranges_find_if_not.module.verify.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_if.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_if_not.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 [new file with mode: 0644]