Given a source range and a unary predicate, present a view of the elements that satisfy the predicate.
Public Member Functions | |
template<typename Rng , typename Pred > | |
constexpr auto | operator() (Rng &&rng, Pred pred) const -> filter_view< all_t< Rng >, Pred > requires ViewableRange< Rng > &&InputRange< Rng > &&IndirectUnaryPredicate< Pred, iterator_t< Rng >> |