[#BloombergLP-bdlc-PackedIntArrayImp-0a-remove-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp]::remove
:relfileprefix: ../../../
:mrdocs:

Remove the element at the specified `dstIndex`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;packedintarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
remove(std::size&lowbar;t dstIndex);
----

== Description

Remove from this array the element at the specified `dstIndex`&period; Each element having an index greater than `dstIndex` before the removal is shifted down by one index position&period; The behavior is undefined unless `dstIndex &lt; length()` &period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dstIndex*
| index of the element to remove
|===


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