[libcxx-commits] [libcxx] b8d38e8 - [libcxx][test] view_interface need not derive from view_base

Casey Carter via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 20 12:17:24 PST 2022


Author: Casey Carter
Date: 2022-01-20T12:17:10-08:00
New Revision: b8d38e8b4fcab071c5c4cb698e154023d06de69e

URL: https://github.com/llvm/llvm-project/commit/b8d38e8b4fcab071c5c4cb698e154023d06de69e
DIFF: https://github.com/llvm/llvm-project/commit/b8d38e8b4fcab071c5c4cb698e154023d06de69e.diff

LOG: [libcxx][test] view_interface need not derive from view_base

... after LWG-3549.

Differential Revision: https://reviews.llvm.org/D117608

Added: 
    

Modified: 
    libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp b/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
index bc2bc95c1c2d2..ebc443ebe08d3 100644
--- a/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
+++ b/libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp
@@ -32,8 +32,6 @@ static_assert(!ValidViewInterfaceType<Empty const>);
 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> {


        


More information about the libcxx-commits mailing list