[#BloombergLP-bdlc-PackedIntArray-0b-remove-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray]::remove :relfileprefix: ../../../ :mrdocs: Remove `numElements` starting at `dstIndex`. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void remove( std::size_t dstIndex, std::size_t numElements); ---- == Description Remove from this array, starting at the specified `dstIndex`, the specified `numElements`, shifting the elements of this array that are at `dstIndex + numElements` or above to `numElements` indices lower. The behavior is undefined unless `dstIndex + numElements <= length()`. == Parameters [cols="1,4"] |=== | Name| Description | *dstIndex* | first index to remove | *numElements* | number of elements to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#