[#BloombergLP-bdlc-CompactedArray-append-06e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray]::append :relfileprefix: ../../../ :mrdocs: Append to this array the specified `numElements` starting at the specified `srcIndex` in the specified `srcArray`. The behavior is undefined unless `srcIndex + numElements <= srcArray.length()`. Note that if this array and `srcArray` are the same, the behavior is as if a copy of `srcArray` were passed. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void append( xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray] const& srcArray, std::size_t srcIndex, std::size_t numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#