Rotate the bits in this array left by numBits positions.

Synopsis

Declared in <bdlc_bitarray.h>

void
rotateLeft(std::size_t numBits);

Description

Shift the values in this array to the left by the specified numBits positions, with the high‐order values "rotating" into the low‐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 left

Created with MrDocs