[#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 `<bdlc_bitarray.h>` Set to 1 the value of the bit at the specified `index` in this array. The behavior is undefined unless `index < length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/BitArray/assign1-0e.adoc[assign1](std::size_t index); ---- [.small]#xref:BloombergLP/bdlc/BitArray/assign1-0e.adoc[_» more..._]# Set to 1 the specified `numBits` values in this array, beginning at the specified `index`. The behavior is undefined unless `index + numBits <= length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/BitArray/assign1-04.adoc[assign1]( std::size_t index, std::size_t numBits); ---- [.small]#xref:BloombergLP/bdlc/BitArray/assign1-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#