boost::dynamic_bitset::append
append overloads
Synopses
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
Appends the bits in block to this bitset (appends to the most significant end). This increases the size of the bitset by bits_per_block. Let s be the old size of the bitset, then for i in the range [0, bits_per_block), the bit at position s + i is set to ( block >> i ) & 1.
void
append(Block block);
Appends a range of blocks to *this.
template<typename BlockInputIterator>
void
append(
BlockInputIterator first,
BlockInputIterator last);
Parameters
| Name | Description |
|---|---|
block |
The block to append. |
first |
The start of the range. |
last |
The end of the range. |
Preconditions
-
The
BlockInputIteratortype must be a model of LegacyInputIterator and its value_type must be the same type as Block.
Created with MrDocs