[#BloombergLP-bdlc-CompactedArray-append-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray]::append
:relfileprefix: ../../../
:mrdocs:

`append` overloads

== Synopses

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

Append to this array the elements from the specified `srcArray`&period;


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

[.small]#xref:BloombergLP/bdlc/CompactedArray/append-0643.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/CompactedArray/append-064f.adoc[append](TYPE const& value);
----

[.small]#xref:BloombergLP/bdlc/CompactedArray/append-064f.adoc[_» more&period;&period;&period;_]#

Append elements from `srcArray` starting at `srcIndex` to this array&period;


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

[.small]#xref:BloombergLP/bdlc/CompactedArray/append-06e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srcArray*
| array whose elements are appended
| *value*
| value of the appended element
| *srcIndex*
| first index in `srcArray` to copy from
| *numElements*
| number of elements to append
|===


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