boost::to_block_range
Writes the bits of the bitset into the iterator result, a block at a time.
Synopses
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
template<
typename B,
typename A,
typename BlockOutputIterator>
void
to_block_range(
dynamic_bitset<B, A> const& b,
BlockOutputIterator result);
Writes the bits of the bitset into the iterator result, a block at a time.
template<
typename Block,
typename AllocatorOrContainer,
typename BlockOutputIterator>
void
to_block_range(
dynamic_bitset<Block, AllocatorOrContainer> const& b,
BlockOutputIterator result);
Parameters
| Name | Description |
|---|---|
b |
The bitset of which to copy the bits. |
result |
The start of the range to write to. |
Preconditions
-
The type
BlockOutputIteratormust be a model of LegacyOutputIterator and itsvalue_typemust be the same type asBlock. Furthermore, the size of the output range must be greater than or equal tob.num_blocks().
Created with MrDocs