orEqual overloads
Declared in <bdlc_bitarray.h>
OR the bit at the specified index in this array with the specified value (retaining the result). The behavior is undefined unless index < length().
void
orEqual(
std::size_t index,
bool value);
» more...
Bitwise OR a bit range from srcArray into this array.
void
orEqual(
std::size_t dstIndex,
BitArray const& srcArray,
std::size_t srcIndex,
std::size_t numBits);
» more...
| Name | Description |
|---|---|
| index | bit position to modify |
| value | bit value to OR at index |
| dstIndex | starting index in this array |
| srcArray | array providing the source bits |
| srcIndex | starting index in srcArray |
| numBits | number of bits to OR |