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)(AND input_range< Rng > AND indirect_unary_predicate< Pred | |
iterator_t< Rng > constexpr 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.