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

`remove` overloads

== Synopses

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

Remove the bit at `index`, shifting higher bits down by one&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/remove-01.adoc[remove](std::size&lowbar;t index);
----

[.small]#xref:BloombergLP/bdlc/BitArray/remove-01.adoc[_» more&period;&period;&period;_]#

Remove `numBits` bits beginning at `index`, shifting higher bits down&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/remove-0a.adoc[remove](
    std::size&lowbar;t index,
    std::size&lowbar;t numBits);
----

[.small]#xref:BloombergLP/bdlc/BitArray/remove-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| bit position to remove
| *numBits*
| number of bits to remove
|===


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