boost::dynamic_bitset::append

Appends a range of blocks to *this.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

template<typename BlockInputIterator>
void
append(
    BlockInputIterator first,
    BlockInputIterator last);

Description

This member provides the same end result as the following code, but is typically more efficient.

for (; first != last; ++first) {
    append( *first );
}

Parameters

Name Description

first

The start of the range.

last

The end of the range.

Preconditions

  • The BlockInputIterator type must be a model of LegacyInputIterator and its value_type must be the same type as Block.

Created with MrDocs