[libcxx-commits] [PATCH] D126325: [libc++][test] Verify std::ranges::rbegin, crbegin, rend, crend are CPOs

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 25 07:51:11 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5a2dbe49bedc: [libc++][test] Verify std::ranges::rbegin, crbegin, rend, crend are CPOs (authored by joe_loser).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126325

Files:
  libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp


Index: libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
===================================================================
--- libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
+++ libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp
@@ -66,12 +66,12 @@
 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));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126325.431994.patch
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220525/ee3b548c/attachment-0001.bin>


More information about the libcxx-commits mailing list