100class deep :
public detail::adaptor_base<deep<underlying_adaptor_t>, underlying_adaptor_t>
120 using base_type::base_type;
138 static_assert(std::same_as<underlying_adaptor_t_, underlying_adaptor_t>,
139 "Internally stored deep-adaptor does not match!");
170 template <std::
size_t range_dimension>
182 return std::views::transform(std::move(transform));
205 template <
typename first_arg_t,
typename... stored_arg_types>
206 requires (!std::ranges::input_range<first_arg_t>)
207 constexpr auto operator()(first_arg_t && first, stored_arg_types &&... args)
const
212 auto adaptor_closure =
213 std::get<0>(this->arguments)(std::forward<first_arg_t>(first), std::forward<stored_arg_types>(args)...);
215 return deep<
decltype(adaptor_closure)>{std::move(adaptor_closure)};
219 constexpr auto operator()()
const
224 auto adaptor_closure = std::get<0>(this->arguments)();
226 return deep<
decltype(adaptor_closure)>{std::move(adaptor_closure)};
241 template <std::ranges::input_range urng_t,
typename... stored_arg_types>
242 requires (
sizeof...(stored_arg_types) > 0)
243 constexpr auto operator()(urng_t && urange, stored_arg_types &&... args)
const
245 auto adaptor_closure = std::get<0>(this->arguments)(std::forward<stored_arg_types>(args)...);
246 deep<
decltype(adaptor_closure)> deep_adaptor{std::move(adaptor_closure)};
247 return deep_adaptor(std::forward<urng_t>(urange));