Shift the bits of this bitset right by the specified pos.

Synopsis

Declared in <bslstl_bitset.h>

bitset<N>&
operator>>=(std::size_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. For all bits with position I where I > N ‐ pos, the new value is 0. The behavior is undefined unless pos <= N.

Return Value

reference to this modifiable bitset

Parameters

Name

Description

pos

number of bit positions to shift right

Created with MrDocs