Right‐shift this bit array by numBits positions.
Synopsis
Declared in <bdlc_bitarray.h>
BitArray&
operator>>=(std::size_t numBits);
Description
Shift the bits in this array RIGHT by the specified numBits, filling higher‐order bits with zeros and discarding low‐order bits, and return a non‐`const` reference to this object. The behavior is undefined unless numBits <= length(). Note that the length of this array is unchanged.
Return Value
non‐`const` reference to this object
Parameters
Name |
Description |
numBits |
number of bit positions to shift right |
Created with MrDocs