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

Remove from this array the specified `numBits`, beginning at the specified `index`&period; All values at indices above `index` in this array are shifted down by `numBits` positions&period; The length of this array is reduced by `numBits`&period; The behavior is undefined unless `index &plus; numBits &lt;&equals; length()`&period;

== Synopsis

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

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


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