[#BloombergLP-bdlb-BitStringUtil-assign1-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::assign1 :relfileprefix: ../../../ :mrdocs: `assign1` overloads == Synopses Declared in `<bdlb_bitstringutil.h>` Set the bit at the specified `index` in the specified `bitString` to `true`. The behavior is undefined unless `index` is less than the capacity of `bitString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/BitStringUtil/assign1-0f.adoc[assign1]( uint64_t* bitString, std::size_t index); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/assign1-0f.adoc[_» more..._]# Set the specified `numBits` beginning at the specified `index` in the specified `bitString` to `true`. The behavior is undefined unless `bitString` has a capacity of at least `index + numBits`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/BitStringUtil/assign1-0c.adoc[assign1]( uint64_t* bitString, std::size_t index, std::size_t numBits); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/assign1-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#