Searched refs:NotAView (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.common.view/ |
| H A D | adaptor.pass.cpp | 41 using NotAView = std::array<int, 3>; in test() typedef 42 NotAView arr = {1, 2, 3}; in test() 43 std::same_as<std::ranges::ref_view<NotAView>> auto result = std::views::common(arr); in test() 93 struct NotAView { }; in test() struct 95 static_assert(!std::is_invocable_v<decltype(std::views::common), NotAView>); in test() 99 static_assert(!CanBePiped<NotAView, decltype(std::views::common)>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/ |
| H A D | adaptor.pass.cpp | 37 struct NotAView { }; struct 40 static_assert(!std::is_invocable_v<decltype(std::views::lazy_split), SomeView, NotAView>); 41 static_assert(!std::is_invocable_v<decltype(std::views::lazy_split), NotAView, SomeView>); 47 static_assert(!CanBePiped<NotAView, decltype(std::views::lazy_split)>);
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.take/ |
| H A D | adaptor.pass.cpp | 95 struct NotAView { }; in test() struct 97 static_assert(!std::is_invocable_v<decltype(std::views::take), NotAView, int>); in test() 101 static_assert(!CanBePiped<NotAView, decltype(std::views::take(3))>); in test() 103 static_assert(!CanBePiped<SomeView&, decltype(std::views::take(/*n=*/NotAView{}))>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.drop/ |
| H A D | adaptor.pass.cpp | 119 struct NotAView { }; in test() struct 121 static_assert(!std::is_invocable_v<decltype(std::views::drop), NotAView, int>); in test() 125 static_assert(!CanBePiped<NotAView, decltype(std::views::drop(3))>); in test() 127 static_assert(!CanBePiped<SomeView&, decltype(std::views::drop(/*n=*/NotAView{}))>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/ |
| H A D | adaptor.pass.cpp | 123 struct NotAView { }; in test() struct 128 static_assert(!CanBePiped<NotAView, decltype(std::views::transform(PlusOne{}))>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/ |
| H A D | adaptor.pass.cpp | 143 struct NotAView { }; in test() struct 148 static_assert(!CanBePiped<NotAView, decltype(std::views::filter(Pred{}))>); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.all/ |
| H A D | all.pass.cpp | 191 struct NotAView { }; in test() struct 193 static_assert(!CanBePiped<NotAView, decltype(std::views::all)>); in test()
|