[#BloombergLP-bdlc-PackedIntArrayImp-0a-append-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp]::append
:relfileprefix: ../../../
:mrdocs:

`append` overloads

== Synopses

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

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


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

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

Append all elements from `srcArray` to this array&period;


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

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

Append `numElements` values from `srcArray` starting at `srcIndex`&period;


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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| element value to append
| *srcArray*
| source packed integer array to append
| *srcIndex*
| first index in `srcArray` to append
| *numElements*
| number of elements to append
|===


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