BloombergLP::bdlc::BitArray::minusEqual

Subtract value from the bit at index (logical A & !B).

Synopsis

Declared in <bdlc_bitarray.h>

void
minusEqual(
    std::size_t index,
    bool value);

Description

MINUS (subtract) from the bit at the specified index in this array the specified value (retaining the result). The behavior is undefined unless index < length(). Note that the logical difference A - B is defined to be A & !B.

Parameters

NameDescription
indexbit position to modify
valuebit value to subtract at index