[#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 `&lt;bdlb&lowbar;bitstringutil&period;h&gt;`

Set the bit at the specified `index` in the specified `bitString` to `true`&period; The behavior is undefined unless `index` is less than the capacity of `bitString`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/BitStringUtil/assign1-0f.adoc[assign1](
    uint64&lowbar;t* bitString,
    std::size&lowbar;t index);
----

[.small]#xref:BloombergLP/bdlb/BitStringUtil/assign1-0f.adoc[_» more&period;&period;&period;_]#

Set the specified `numBits` beginning at the specified `index` in the specified `bitString` to `true`&period; The behavior is undefined unless `bitString` has a capacity of at least `index &plus; numBits`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/BitStringUtil/assign1-0c.adoc[assign1](
    uint64&lowbar;t* bitString,
    std::size&lowbar;t index,
    std::size&lowbar;t numBits);
----

[.small]#xref:BloombergLP/bdlb/BitStringUtil/assign1-0c.adoc[_» more&period;&period;&period;_]#


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