added from_block_range

[SVN r15789]
This commit is contained in:
Jeremy Siek
2002-10-07 19:01:06 +00:00
parent 7f2261c169
commit cb0d5a3eb8

View File

@@ -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 &lt;typename BlockIterator, typename Block, typename Alloc&gt;
void <a name="from_block_range">from_block_range</a>(BlockIterator first,
BlockIterator last, const dynamic_bitset&lt;Block, Alloc&gt;&amp; 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 &lt;typename Char, typename Traits, typename Block, typename Alloc&gt;