[#bsl-bitset-operator_rshift_eq]
= xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::operator&gt;&gt;&equals;
:relfileprefix: ../../
:mrdocs:

Shift the bits of this bitset right by the specified `pos`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bitset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/bitset.adoc[bitset&lt;N&gt;]&
operator&gt;&gt;&equals;(std::size&lowbar;t pos) noexcept;
----

== Description

Shift the bits of this bitset right (towards the least significant bit) by the specified `pos` and return a reference to this modifiable bitset&period; For all bits with position I where `I &gt; N &hyphen; pos`, the new value is 0&period; The behavior is undefined unless `pos &lt;&equals; N`&period;

== Return Value

reference to this modifiable bitset

== Parameters

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


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