boost::from_block_range
Reads blocks from the iterator range into the bitset.
Synopses
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
void
from_block_range(
BlockIterator first,
BlockIterator last,
dynamic_bitset<B, A>& result);
Reads blocks from the iterator range into the bitset.
template<
typename BlockIterator,
typename Block,
typename AllocatorOrContainer>
void
from_block_range(
BlockIterator first,
BlockIterator last,
dynamic_bitset<Block, AllocatorOrContainer>& result);
Parameters
| Name | Description |
|---|---|
first |
The start of the range. |
last |
The end of the range. |
result |
The resulting bitset. |
Preconditions
-
The type
BlockIteratormust be a model of LegacyInputIterator and itsvalue_typemust be the same type asBlock. The size of the iterator range must be less than or equal tob.num_blocks().
Created with MrDocs