llvm::lower_bound

Return the first position in sorted Range where Value could be inserted using C.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename R,
    typename T,
    typename Compare>
auto
lower_bound(
    R&& Range,
    T&& Value,
    Compare C);

Return Value

Iterator to the first position where Value could be inserted.

Parameters

NameDescription
RangeSorted range to search.
ValueValue to bound.
CComparison function object.