43 static constexpr auto from_range_(T && t, std::true_type, detail::ignore_t,
46 return static_cast<T &&
>(t);
52 static constexpr auto from_range_(T && t, std::false_type, std::true_type,
55 return ranges::views::ref(t);
61 static constexpr auto from_range_(T && t, std::false_type, std::false_type,
64 return make_subrange(
static_cast<T &&
>(t));
70 constexpr auto operator()(T && t)
const
72 return all_fn::from_range_(
static_cast<T &&
>(t),
74 std::is_lvalue_reference<T>{},
79 RANGES_DEPRECATED(
"Passing a reference_wrapper to views::all is deprecated.")
80 constexpr ref_view<T> operator()(std::reference_wrapper<T> r)
const
82 return ranges::views::ref(r.get());