mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
added from_block_range
[SVN r15789]
This commit is contained in:
@@ -1280,6 +1280,22 @@ Iterator</a> and its <tt>value_type</tt> must be the same type as
|
||||
or equal <tt>b.num_blocks()</tt>.
|
||||
|
||||
|
||||
<hr>
|
||||
<pre>
|
||||
template <typename BlockIterator, typename Block, typename Alloc>
|
||||
void <a name="from_block_range">from_block_range</a>(BlockIterator first,
|
||||
BlockIterator last, const dynamic_bitset<Block, Alloc>& b)
|
||||
</pre>
|
||||
<b>Effects:</b> Reads blocks from the iterator range into the
|
||||
bitset. <br>
|
||||
|
||||
<b>Requires:</b> The type <tt>BlockIterator</tt> must be a model of <a
|
||||
href="http://www.sgi.com/tech/stl/InputIterator.html">Input
|
||||
Iterator</a> and its <tt>value_type</tt> must be the same type as
|
||||
<tt>Block</tt>. The size of the iterator range must be less or equal
|
||||
to <tt>b.num_blocks()</tt>.
|
||||
|
||||
|
||||
<hr>
|
||||
<pre>
|
||||
template <typename Char, typename Traits, typename Block, typename Alloc>
|
||||
|
||||
Reference in New Issue
Block a user