The lower_bound() method in C++ is used to return an iterator pointing to the first element in the range [first, last) which has a value not less than val.