[#BloombergLP-bdlc-CompactedArray-remove-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray]::remove :relfileprefix: ../../../ :mrdocs: Remove from this array the specified `numElements` starting at the specified `dstIndex`. Each element having an index greater than or equal to `dstIndex + numElements` before the removal is shifted down by `numElements` index positions. The behavior is undefined unless `dstIndex + numElements <= length()`. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void remove( std::size_t dstIndex, std::size_t numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#