llvm-project/libcxx/test/std/algorithms/alg.sorting
Arthur O'Dwyer 14098cf6c0 [libc++] [P0202] constexpr set_union, set_difference, set_symmetric_difference, merge
These had been waiting on the ability to use `std::copy` from
constexpr code (which in turn had been waiting on the ability to
use `is_constant_evaluated()` to switch between `memmove` and non-`memmove`
implementations of `std::copy`). That work landed a while ago,
so these algorithms can all be constexpr in C++20 now.

Simultaneously, update the tests for the set algorithms.

- Use an element type with "equivalent but not identical" values.
- The custom-comparator tests now pass something different from `operator<`.
- Make the constexpr coverage match the non-constexpr coverage.

Differential Revision: https://reviews.llvm.org/D92255
2020-12-04 17:53:54 -05:00
..
alg.binary.search [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
alg.clamp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
alg.heap.operations [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
alg.lex.comparison
alg.merge [libc++] [P0202] constexpr set_union, set_difference, set_symmetric_difference, merge 2020-12-04 17:53:54 -05:00
alg.min.max [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
alg.nth.element Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
alg.permutation.generators Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
alg.set.operations [libc++] [P0202] constexpr set_union, set_difference, set_symmetric_difference, merge 2020-12-04 17:53:54 -05:00
alg.sort [libc++] fix std::sort(T**, T**) 2020-12-04 16:05:21 -05:00
sortable_helpers.h [libc++] [P0202] constexpr set_union, set_difference, set_symmetric_difference, merge 2020-12-04 17:53:54 -05:00