[#BloombergLP-bdlc-PackedIntArrayUtil-lowerBound]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayUtil.adoc[PackedIntArrayUtil]::lowerBound
:relfileprefix: ../../../
:mrdocs:

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&period; The behavior is undefined unless `first &lt;&equals; last` and the range is sorted&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;packedintarrayutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;]
lowerBound(
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;] first,
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;] last,
    TYPE value);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
