BloombergLP::bdlc::BitArray::toggle

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);
» more...

Complement the values of each of the specified numBits in this array, beginning at the specified index. The behavior is undefined unless index + numBits <= length().

void
toggle(
    std::size_t index,
    std::size_t numBits);
» more...