[libcxx-commits] [PATCH] D117608: [libcxx][test] view_interface need not derive from view_base
Casey Carter via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 18 14:26:31 PST 2022
CaseyCarter created this revision.
CaseyCarter added a reviewer: libc++.
CaseyCarter added a project: libc++.
CaseyCarter requested review of this revision.
Herald added 1 blocking reviewer(s): libc++.
... after LWG-3549 <https://wg21.link/lwg3549>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117608
Files:
libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
Index: libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
===================================================================
--- libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
+++ libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
@@ -32,7 +32,7 @@
static_assert(!ValidViewInterfaceType<Empty &>);
static_assert( ValidViewInterfaceType<Empty>);
-static_assert(std::derived_from<std::ranges::view_interface<Empty>, std::ranges::view_base>);
+LIBCPP_STATIC_ASSERT(std::derived_from<std::ranges::view_interface<Empty>, std::ranges::view_base>);
using InputIter = cpp20_input_iterator<const int*>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117608.400987.patch
Type: text/x-patch
Size: 683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220118/f3b43991/attachment-0001.bin>
More information about the libcxx-commits
mailing list