[#BloombergLP-bdlc-BitArray-assign0-069]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::assign0
:relfileprefix: ../../../
:mrdocs:

Set to 0 the specified `numBits` values in this array, beginning at the specified `index`&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
assign0(
    std::size&lowbar;t index,
    std::size&lowbar;t numBits);
----

== Parameters

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


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