diff options
author | Hui Xie <hui.xie1990@gmail.com> | 2022-07-23 01:44:25 +0100 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-08-02 21:48:48 -0700 |
commit | 62f1e6638158d8848777a29d9d142bb5481c7b67 (patch) | |
tree | edcb0531ef2a04c1ad5f60d4cb276cc526738420 /libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp | |
parent | 6ba660d17410d02f5fa71d878ac49e2fdee4169f (diff) |
[libc++][ranges] implement `std::ranges::unique{_copy}`
implement `std::ranges::unique` and `std::ranges::unique_copy`
Differential Revision: https://reviews.llvm.org/D130404
(cherry picked from commit 72f57e3a30d597346feec74cf626796b0055680f)
Diffstat (limited to 'libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp')
-rw-r--r-- | libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp b/libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp index 1fc6dfb89c4b..eac6eece9ac7 100644 --- a/libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp +++ b/libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp @@ -145,8 +145,8 @@ static_assert(test(std::ranges::stable_sort, a)); //static_assert(test(std::ranges::starts_with, a, a)); static_assert(test(std::ranges::swap_ranges, a, a)); static_assert(test(std::ranges::transform, a, a, triple)); -//static_assert(test(std::ranges::unique, a)); -//static_assert(test(std::ranges::unique_copy, a, a)); +static_assert(test(std::ranges::unique, a)); +static_assert(test(std::ranges::unique_copy, a, a)); static_assert(test(std::ranges::upper_bound, a, 42)); // [memory.syn] |