boost::dynamic_bitset::operator=

Copy assignment operator.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

dynamic_bitset&
operator=(dynamic_bitset const& b);

Description

This bitset becomes a copy of the bitset b.

Throws

An allocation error if memory is exhausted (std::bad_alloc if allocator_type is a std::allocator). (Required by CopyAssignable.)

Return Value

*this.

Parameters

Name Description

b

The object to copy assign from

Postconditions

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

Created with MrDocs