Lines Matching refs:drop
64 auto result = input | std::views::drop(N); in test_small_range()
79 … std::same_as<std::ranges::drop_view<SomeView>> decltype(auto) result = view | std::views::drop(3); in test()
91 auto const partial = std::views::transform(f) | std::views::drop(3); in test()
106 auto const partial = std::views::drop(3) | std::views::transform(f); in test()
120 static_assert(!std::is_invocable_v<decltype(std::views::drop)>); in test()
121 static_assert(!std::is_invocable_v<decltype(std::views::drop), NotAView, int>); in test()
122 static_assert( CanBePiped<SomeView&, decltype(std::views::drop(3))>); in test()
123 static_assert( CanBePiped<int(&)[10], decltype(std::views::drop(3))>); in test()
124 static_assert(!CanBePiped<int(&&)[10], decltype(std::views::drop(3))>); 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()
132 static_assert(std::same_as<decltype(std::views::drop), decltype(std::ranges::views::drop)>); in test()
138 …unused]] std::same_as<Result> decltype(auto) result = std::views::empty<int> | std::views::drop(3); in test()
144 std::same_as<decltype(s)> decltype(auto) result = s | std::views::drop(5); in test()
151 … std::same_as<std::span<int, std::dynamic_extent>> decltype(auto) result = s | std::views::drop(3); in test()
159 std::same_as<decltype(sv)> decltype(auto) result = sv | std::views::drop(2); in test()
165 std::same_as<decltype(sv)> decltype(auto) result = sv | std::views::drop(2); in test()
176 std::same_as<Result> decltype(auto) result = iota | std::views::drop(3); in test()
188 std::same_as<Result> decltype(auto) result = subrange | std::views::drop(3); in test()
201 std::same_as<Subrange> decltype(auto) result = subrange | std::views::drop(3); in test()
212 std::same_as<Result> decltype(auto) result = subrange | std::views::drop(3); in test()
228 [[maybe_unused]] auto partial = std::views::drop(X{}); in test()