Clear bits of this bitset where the corresponding bits of rhs are 0.

Synopsis

Declared in <bslstl_bitset.h>

bitset<N>&
operator&=(bitset const& rhs) noexcept;

Description

Clear each bit of this bitset for each corresponding bit that is 0 in the specified rhs, and leaves all other bits unchanged. Return a reference to this modifiable bitset. Note that this is equivalent to a bitwise OR.

Return Value

reference to this modifiable bitset

Parameters

Name

Description

rhs

bitset providing bits that mask this object

Created with MrDocs