[#BloombergLP-bdlc-PackedIntArrayImp-02-append-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-02.adoc[PackedIntArrayImp&lt;PackedIntArrayImp&lowbar;Unsigned&gt;]::append
:relfileprefix: ../../../
:mrdocs:

`append` overloads

== Synopses

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

Append an element having the specified `value` to the end of this array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-09.adoc[append](xref:BloombergLP/bdlc/PackedIntArrayImp-02/ElementType.adoc[ElementType] value);
----

[.small]#xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-09.adoc[_» more&period;&period;&period;_]#

Append the sequence of values represented by the specified `srcArray` to the end of this array&period; Note that if this array and `srcArray` are the same, the behavior is as if a copy of `srcArray` were passed&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-03.adoc[append](xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp&lt;PackedIntArrayImp&lowbar;Unsigned&gt;] const& srcArray);
----

[.small]#xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-03.adoc[_» more&period;&period;&period;_]#

Append the sequence of values of the specified `numElements` starting at the specified `srcIndex` in the specified `srcArray` to the end of this array&period; The behavior is undefined unless `srcIndex &plus; numElements &lt;&equals; srcArray&period;length()`&period; Note that if this array and `srcArray` are the same, the behavior is as if a copy of `srcArray` were passed&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-04.adoc[append](
    xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp&lt;PackedIntArrayImp&lowbar;Unsigned&gt;] const& srcArray,
    std::size&lowbar;t srcIndex,
    std::size&lowbar;t numElements);
----

[.small]#xref:BloombergLP/bdlc/PackedIntArrayImp-02/append-04.adoc[_» more&period;&period;&period;_]#


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