Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::views::trim_fn Struct Reference

Synopsis of methods

constexpr view< trim_fntrim {}
 

Public Member Functions

template<typename Rng , typename Pred >
constexpr auto operator() (Rng &&rng, Pred pred) const -> trim_view< all_t< Rng >, Pred > requires viewable_range< Rng > &&bidirectional_range< Rng > &&indirect_unary_predicate< Pred, iterator_t< Rng >> &&common_range< Rng >
 
template<typename Rng , typename Pred , typename Proj >
constexpr auto operator() (Rng &&rng, Pred pred, Proj proj) const -> trim_view< all_t< Rng >, composed< Pred, Proj >> requires viewable_range< Rng > &&bidirectional_range< Rng > &&indirect_unary_predicate< composed< Pred, Proj >, iterator_t< Rng >> &&common_range< Rng >