lower_bound overloads

Synopses

Declared in <llvm/ADT/STLExtras.h>

Provide wrappers to std::lower_bound which take ranges instead of having to pass begin/end explicitly.

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

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

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

Created with MrDocs