forked from OSchip/llvm-project
[libc++][test] Verify std::ranges::rbegin, crbegin, rend, crend are CPOs
Uncomment the tests to ensure `std::ranges::rbegin` and friends are indeed customization points objects. Differential Revision: https://reviews.llvm.org/D126325
This commit is contained in:
parent
a4a438f05a
commit
5a2dbe49be
|
@ -66,12 +66,12 @@ static_assert(test(std::ranges::end, a));
|
|||
static_assert(test(std::ranges::cbegin, a));
|
||||
static_assert(test(std::ranges::cdata, a));
|
||||
static_assert(test(std::ranges::cend, a));
|
||||
//static_assert(test(std::ranges::crbegin, a));
|
||||
//static_assert(test(std::ranges::crend, a));
|
||||
static_assert(test(std::ranges::crbegin, a));
|
||||
static_assert(test(std::ranges::crend, a));
|
||||
static_assert(test(std::ranges::data, a));
|
||||
static_assert(test(std::ranges::empty, a));
|
||||
//static_assert(test(std::ranges::rbegin, a));
|
||||
//static_assert(test(std::ranges::rend, a));
|
||||
static_assert(test(std::ranges::rbegin, a));
|
||||
static_assert(test(std::ranges::rend, a));
|
||||
static_assert(test(std::ranges::size, a));
|
||||
static_assert(test(std::ranges::ssize, a));
|
||||
|
||||
|
|
Loading…
Reference in New Issue