Return an iterator to the first element not less than value.
Declared in <bdlc_packedintarrayutil.h>
template<class TYPE>
static
PackedIntArrayConstIterator<TYPE>
lowerBound(
PackedIntArrayConstIterator<TYPE> first,
PackedIntArrayConstIterator<TYPE> last,
TYPE value);
Return an iterator to the first element in the sorted range from the specified first (inclusive) to the specified last (exclusive) that compares greater than or equal to the specified value, and last if no such element exists. The behavior is undefined unless first <= last and the range is sorted.
iterator to the first element not less than value, or last if no such element exists
| Name | Description |
|---|---|
| first | beginning of the sorted range to search |
| last | end of the sorted range to search |
| value | value to compare against elements in the range |