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

This `struct` provides a namespace for utility functions that provide non&hyphen;primitive operations on `bdlc&colon;&colon;PackedIntArray`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PackedIntArrayUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/PackedIntArrayUtil/isSorted.adoc[`isSorted`] 
| Return `true` if the range from the specified `first` (inclusive) to the specified `last` (exclusive) is sorted or empty, and `false` otherwise&period; The behavior is undefined unless `first &lt;&equals; last`&period;
| xref:BloombergLP/bdlc/PackedIntArrayUtil/lowerBound.adoc[`lowerBound`] 
| 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;
| xref:BloombergLP/bdlc/PackedIntArrayUtil/upperBound.adoc[`upperBound`] 
| 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 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;
|===



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