[#BloombergLP-bdlc-BitArray-rotateLeft]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::rotateLeft
:relfileprefix: ../../../
:mrdocs:

Shift the values in this array to the left by the specified `numBits` positions, with the high&hyphen;order values &quot;rotating&quot; into the low&hyphen;order bits&period; The behavior is undefined unless `numBits &lt;&equals; length()`&period; Note that the length of this array remains unchanged&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
rotateLeft(std::size&lowbar;t numBits);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
