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

Public Member Functions

template<typename I , typename S , typename R , typename P = ident, requires = (InputIterator<I>() && Sentinel<S, I>() && IndirectCallablePredicate<R, projected<I, P> >())>
iterator_difference_t< I > operator() (I begin, S end, R pred_, P proj_=P{}) const
 
template<typename Rng , typename R , typename P = ident, typename I = range_iterator_t<Rng>, requires = (InputRange<Rng>() && IndirectCallablePredicate<R, projected<I, P> >())>
iterator_difference_t< I > operator() (Rng &&rng, R pred, P proj=P{}) const