Invert the values of the specified numBits in the specified bitString beginning at the specified index. The behavior is undefined unless bitString has a length of at least index + numBits.

Synopsis

Declared in <bdlb_bitstringutil.h>

static
void
toggle(
    uint64_t* bitString,
    std::size_t index,
    std::size_t numBits);

Created with MrDocs