Set to 1 the specified numBits values in this array, beginning at the specified index. The behavior is undefined unless index + numBits <= length().
Declared in <bdlc_bitarray.h>
void
assign1(
std::size_t index,
std::size_t numBits);
| Name | Description |
|---|---|
| index | starting bit position to set |
| numBits | number of bits to set |