[#BloombergLP-bdlc-BitArray-rotateRight] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::rotateRight :relfileprefix: ../../../ :mrdocs: Rotate the bits in this array right by `numBits` positions. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *numBits* | number of positions to rotate right |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#