Shift the bits of this bitset left 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 left (towards the most significant bit) by the specified pos and return a reference to this modifiable bitset. For all bits with position I where I <= 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 left

Created with MrDocs