Horizon
Loading...
Searching...
No Matches
Namespaces | Functions
count.hpp File Reference
#include <utility>
#include <range/v3/range_fwd.hpp>
#include <range/v3/functional/identity.hpp>
#include <range/v3/functional/invoke.hpp>
#include <range/v3/iterator/concepts.hpp>
#include <range/v3/iterator/traits.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Namespaces

namespace  ranges::cpp20
 

Functions

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