Set one bit in bitString to value.
Declared in <bdlb_bitstringutil.h>
static
void
assign(
uint64_t* bitString,
std::size_t index,
bool value);
Set the bit at the specified index in the specified bitString to the specified value. The behavior is undefined unless index is less than the capacity of bitString.
| Name | Description |
|---|---|
| bitString | bit string to modify |
| index | bit position to set |
| value | value to assign to the bit |