bsl::bitset::reference::operator=

Assign to the bit referenced by this object the specified value x and return a reference offering modifiable access to this object.

Synopsis

Declared in <bslstl_bitset.h>

bitset<N>::reference&
operator=(bool x) noexcept;

Return Value

reference offering modifiable access to this object

Parameters

NameDescription
xvalue to assign to the referenced bit