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