Set the value at the specified index in this array to the specified value. The behavior is undefined unless index < length().
Declared in <bdlc_bitarray.h>
void
assign(
std::size_t index,
bool value);
| Name | Description |
|---|---|
| index | bit position to set |
| value | bit value to store at index |