[#BloombergLP-bdlc-PackedIntArray-0b-begin]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray]::begin
:relfileprefix: ../../../
:mrdocs:

Return an iterator to the first element (or `end()` if empty)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/PackedIntArray-0b/const_iterator.adoc[PackedIntArray&lt;TYPE&gt;::const&lowbar;iterator]
begin() const;
----

== Description

Return an iterator referring to the first element in this array (or the past&hyphen;the&hyphen;end iterator if this array is empty)&period; This reference remains valid as long as this array exists&period;

== Return Value

iterator to the first element, or `end()` if empty


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