boost::from_block_range :: Boost.DynamicBitset

# 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);

» more...

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);

» more...

## Parameters

Name | Description
first | The start of the range.
last | The end of the range.
result | The resulting bitset.

## Preconditions

- The type `BlockIterator` must be a model of LegacyInputIterator and its `value_type` must be the same type as `Block`. The size of the iterator range must be less than or equal to `b.num_blocks()`. Excess bits are not copied into the bitset, which doesn't change its size.

Created with MrDocs