upper_bound overloads
Declared in <llvm/ADT/STLExtras.h>
Return the first position in sorted Range after which Value could be inserted.
template<
typename R,
typename T>
auto
upper_bound(
R&& Range,
T&& Value);
» more...
Return the first position in sorted Range after which Value could be inserted using C.
template<
typename R,
typename T,
typename Compare>
auto
upper_bound(
R&& Range,
T&& Value,
Compare C);
» more...
Iterator to the first position after which Value could be inserted.
| Name | Description |
|---|---|
| Range | Sorted range to search. |
| Value | Value to bound. |
| C | Comparison function object. |