[libcxx-commits] [PATCH] D92255: [libc++] [P0202] constexpr set_union, set_difference, set_symmetric_difference, merge

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 1 19:52:53 PST 2020


Quuxplusone updated this revision to Diff 308854.
Quuxplusone marked an inline comment as done.
Quuxplusone added a comment.

Updated `set_intersection.pass.cpp` and `set_intersection_comp.pass.cpp` to perform //all// the tests as constexpr in C++20. @zoecarver, I propose to rewrite all of the set-algo tests (`union`, `difference`, `symmetric_difference`, `merge`) in this same way, using this same small test input, using these custom `Trivial` and `NonTrivial` class types. Thoughts?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92255/new/

https://reviews.llvm.org/D92255

Files:
  libcxx/docs/Cxx2aStatus.rst
  libcxx/docs/Cxx2aStatusPaperStatus.csv
  libcxx/include/algorithm
  libcxx/test/std/algorithms/alg.sorting/alg.merge/merge.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/includes.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/includes/includes_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92255.308854.patch
Type: text/x-patch
Size: 63521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201202/322a1a73/attachment-0001.bin>


More information about the libcxx-commits mailing list