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

`assign1` overloads

== Synopses

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

Set to 1 the value of the bit at the specified `index` in this array&period; The behavior is undefined unless `index &lt; length()`&period;


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

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

Set to 1 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;


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

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


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