Horizon
Loading...
Searching...
No Matches
ranges::aux::upper_bound_n_fn Struct Reference

Public Member Functions

 template (typename I, typename V, typename C=less, typename P=identity)(AND indirect_strict_weak_order< C
 template function upper_bound
V const projected< I, P > constexpr I operator() (I first, iter_difference_t< I > d, V const &val, C pred=C{}, P proj=P{}) const

Member Function Documentation

◆ template()

ranges::aux::upper_bound_n_fn::template ( typename I ,
typename V ,
typename C = less,
typename P = identity )

template function upper_bound

range-based version of the upper_bound std algorithm

Precondition
Rng is a model of the range concept

The documentation for this struct was generated from the following file: