Horizon
Loading...
Searching...
No Matches
Namespaces | Functions
upper_bound.hpp File Reference
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/aux_/upper_bound_n.hpp>
#include <range/v3/algorithm/partition_point.hpp>
#include <range/v3/functional/comparisons.hpp>
#include <range/v3/functional/identity.hpp>
#include <range/v3/iterator/traits.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.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 C=less, typename P=identity)(AND sentinel_for< S
 function template binary_search
 
I AND indirect_strict_weak_order< C, V const *, projected< I, P > > constexpr I RANGES_FUNC() ranges::upper_bound (I first, S last, V const &val, C pred=C{}, P proj=P{})
 
 ranges::template (typename Rng, typename V, typename C=less, typename P=identity)(AND indirect_strict_weak_order< C
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
V const projected< iterator_t< Rng >, P > constexpr borrowed_iterator_t< Rng > RANGES_FUNC() ranges::upper_bound (Rng &&rng, V const &val, C pred=C{}, P proj=P{})