boost::dynamic_bitset::dynamic_bitset
Copy constructor.
Synopsis
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
dynamic_bitset(dynamic_bitset const& b);
Description
Constructs a bitset that is a copy of the bitset b. The allocator for this bitset is a copy of the allocator of b.
Throws
An allocation error if memory is exhausted (std::bad_alloc if allocator_type is a std::allocator).
(Required by CopyConstructible.)
Postconditions
-
For all i in the range
[0, b.size()),( *this )[ i ] == b[ i ].
Created with MrDocs