boost::dynamic_bitset::operator=

Assignment operators

Synopses

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

Copy assignment operator.

Move assignment operator.

dynamic_bitset&
operator=(dynamic_bitset&& src) noexcept(/* see-below */);

Return Value

*this.

Postconditions

  • For all i in the range [0, x.size())], `( *this )[ i ] == b[ i ]`.

  • Unless &src == this (in which case the bitset is left unchanged), src.size() == 0 and src.num_blocks() == 0, i.e. src is left empty, and can be used like any other empty bitset.

Created with MrDocs