[libcxx-commits] [PATCH] D129233: [libc++][ranges] implement `std::ranges::set_intersection`

Hui via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 6 15:25:40 PDT 2022


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

update review link


huixie90 added a comment.

added newline at the end of the file


implement `std::ranges::set_intersection` by reusing the classic `std::set_intersenction`
added unit tests


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129233

Files:
  libcxx/docs/Status/RangesAlgorithms.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__algorithm/make_projected.h
  libcxx/include/__algorithm/ranges_set_intersection.h
  libcxx/include/__algorithm/set_intersection.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.set.operations/set.intersection/ranges_set_intersection.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/sortable_helpers.h
  libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129233.442701.patch
Type: text/x-patch
Size: 43113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220706/f62bec3c/attachment-0001.bin>


More information about the libcxx-commits mailing list