[#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; 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/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; Note that this method is logically equivalent to&colon; &grave; push&lowbar;back(value)&semi; &grave;


[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 to this array the specified `numElements` starting at the specified `srcIndex` in the specified `srcArray`&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/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;_]#


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