toggle overloads
Synopses
Declared in <bdlc_bitarray.h>
Complement the value of the bit at the specified index in this array. The behavior is undefined unless index < length().
void
toggle(std::size_t index);
Complement numBits bits in this array beginning at index.
void
toggle(
std::size_t index,
std::size_t numBits);
Parameters
Name |
Description |
index |
bit position to complement |
numBits |
number of bits to complement |
Created with MrDocs