Range-v3
Range algorithms, views, and actions for the Standard Library
count.hpp File Reference

Functions

template<typename I , typename S , typename V , typename P = identity>
iter_difference_t< I > ranges::count (I first, S last, V const &val, P proj=P{})
 function template count More...
 
template<typename Rng , typename V , typename P = identity>
iter_difference_t< iterator_t< Rng > > ranges::count (Rng &&rng, V const &val, P proj=P{})
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...