[#BloombergLP-bdlc-CompactedArray-remove-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray]::remove :relfileprefix: ../../../ :mrdocs: `remove` overloads == Synopses Declared in `<bdlc_compactedarray.h>` Remove from this array the element at the specified `dstIndex`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/CompactedArray/remove-05.adoc[remove](std::size_t dstIndex); ---- [.small]#xref:BloombergLP/bdlc/CompactedArray/remove-05.adoc[_» more..._]# Remove the half‐open range `[dstFirst, dstLast)]` from this array. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/CompactedArray/const_iterator.adoc[CompactedArray<TYPE>::const_iterator] xref:BloombergLP/bdlc/CompactedArray/remove-0d.adoc[remove]( xref:BloombergLP/bdlc/CompactedArray/const_iterator.adoc[const_iterator] dstFirst, xref:BloombergLP/bdlc/CompactedArray/const_iterator.adoc[const_iterator] dstLast); ---- [.small]#xref:BloombergLP/bdlc/CompactedArray/remove-0d.adoc[_» more..._]# Remove `numElements` starting at `dstIndex` from this array. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/CompactedArray/remove-09.adoc[remove]( std::size_t dstIndex, std::size_t numElements); ---- [.small]#xref:BloombergLP/bdlc/CompactedArray/remove-09.adoc[_» more..._]# == Return Value iterator to the new position of the former `dstLast` element, or `end()` if `dstLast == end()` == Parameters [cols="1,4"] |=== | Name| Description | *dstIndex* | index of the element to remove | *dstFirst* | iterator to the first element to remove | *dstLast* | iterator one past the last element to remove | *numElements* | number of elements to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#