[#BloombergLP-bdlc-BitArray-operator_rshift_eq]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::operator&gt;&gt;&equals;
:relfileprefix: ../../../
:mrdocs:

Right&hyphen;shift this bit array by `numBits` positions&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/BitArray.adoc[BitArray]&
operator&gt;&gt;&equals;(std::size&lowbar;t numBits);
----

== Description

Shift the bits in this array RIGHT by the specified `numBits`, filling higher&hyphen;order bits with zeros and discarding low&hyphen;order bits, and return a non&hyphen;`const` reference to this object&period; The behavior is undefined unless `numBits &lt;&equals; length()`&period; Note that the length of this array is unchanged&period;

== Return Value

non&hyphen;`const` reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *numBits*
| number of bit positions to shift right
|===


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