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