Rotate the bits in this array right by numBits positions.
Synopsis
Declared in <bdlc_bitarray.h>
void
rotateRight(std::size_t numBits);
Description
Shift the values in this array to the right by the specified numBits positions, with the low‐order values "rotating" into the high‐order bits. The behavior is undefined unless numBits <= length(). Note that the length of this array remains unchanged.
Parameters
Name |
Description |
numBits |
number of positions to rotate right |
Created with MrDocs