[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 17:06:28 PST 2022
CaseyCarter updated this revision to Diff 401048.
CaseyCarter added a comment.
Review comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117608/new/
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,8 +32,6 @@
static_assert(!ValidViewInterfaceType<Empty &>);
static_assert( ValidViewInterfaceType<Empty>);
-static_assert(std::derived_from<std::ranges::view_interface<Empty>, std::ranges::view_base>);
-
using InputIter = cpp20_input_iterator<const int*>;
struct InputRange : std::ranges::view_interface<InputRange> {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117608.401048.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220119/b1842b12/attachment.bin>
More information about the libcxx-commits
mailing list