Header file range/v3/algorithm/upper_bound.hpp

#include <range/v3/range_fwd.hpp>

#include <range/v3/range_concepts.hpp>

#include <range/v3/range_traits.hpp>

#include <range/v3/algorithm/partition_point.hpp>

#include <range/v3/algorithm/aux_/upper_bound_n.hpp>

#include <range/v3/utility/functional.hpp>

#include <range/v3/utility/iterator_traits.hpp>

#include <range/v3/utility/static_const.hpp>

namespace ranges
{
    inline namespace v3
    {
        struct upper_bound_fn;
        
        inline namespace 
        {
            constexpr auto& upper_bound = static_const<with_braced_init_args<upper_bound_fn>>::value;
        }
    }
}

Class ranges::v3::upper_bound_fn

struct upper_bound_fn
{
    template <typename I, typename S, typename V2, typename C = ordered_less, typename P = ident, int _concept_requires_35 = 42, typename std::enable_if<(_concept_requires_35==43)||(Sentinel<S, I>()&&BinarySearchable<I, V2, C, P>()), int>::type=0>
    I operator()(I begin, S end, V2 const& val, C pred_ = C{}, P proj = P{}) const;
    
    template <typename Rng, typename V2, typename C = ordered_less, typename P = ident, typename I = range_iterator_t<Rng>, int _concept_requires_46 = 42, typename std::enable_if<(_concept_requires_46==43)||(Range<Rng>()&&BinarySearchable<I, V2, C, P>()), int>::type=0>
    range_safe_iterator_t<Rng> operator()(Rng&& rng, V2 const& val, C pred_ = C{}, P proj = P{}) const;
};

@{


Variable ranges::v3::upper_bound

constexpr auto& upper_bound = static_const<with_braced_init_args<upper_bound_fn>>::value;

upper_bound_fn