Horizon
|
Given a source range and a unary predicate, present a view of the elements that satisfy the predicate. More...
#include <filter.hpp>
Public Member Functions | |
template (typename Rng, typename Pred)(requires viewable_range< Rng > AND input_range< Rng > AND indirect_unary_predicate< Pred | |
constexpr iterator_t< Rng > filter_view< all_t< Rng >, Pred > | operator() (Rng &&rng, Pred pred) const |
Given a source range and a unary predicate, present a view of the elements that satisfy the predicate.