set::lower_bound

const_iterator lower_bound(const Key& key) const;

The member function returns an iterator that designates the earliest element x in the controlled sequence for which key_comp()(x, key) is false.

If no such element exists, the function returns end().