[libcxx][ranges] implement `std::ranges::set_difference`
authorHui Xie <hui.xie1990@gmail.com>
Sun, 26 Jun 2022 15:13:43 +0000 (16:13 +0100)
committerHui Xie <hui.xie1990@gmail.com>
Fri, 8 Jul 2022 12:26:23 +0000 (13:26 +0100)
commit1cdec6c96e852f4ebac61711a622535bcaf07542
tree6f859ad457adc10e44cfef50f40b0aebc610b711
parent8b756713140f0661882ddd451cef7e245cf112aa
[libcxx][ranges] implement `std::ranges::set_difference`

implement `std::ranges::set_difference`
reused classic std::set_difference
added unit tests

Differential Revision: https://reviews.llvm.org/D128983
15 files changed:
libcxx/docs/Status/RangesAlgorithms.csv
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/make_projected.h
libcxx/include/__algorithm/ranges_set_difference.h [new file with mode: 0644]
libcxx/include/__algorithm/set_difference.h
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.sorting/alg.merge/ranges_merge.pass.cpp
libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/ranges_set_difference.pass.cpp [new file with mode: 0644]
libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h
libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp
libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp