t>[0,M)</tt>,
<tt>(*this)[i] == (value &gt;&gt; i) &amp; 1</tt>.</li>

<li>For all <tt>i</tt> in the range <tt>[M,num_bits)</tt>,
<tt>(*this)[i] == false</tt>.</li>
</ul>

<b>Throws:</b> An allocation error if memory is exhausted
(<tt>std::bad_alloc</tt> if
<tt>Allocator=std::allocator</tt>).<br />


<hr />
<pre>
<a id="cons5">dynamic_bitset</a>(const dynamic_bitset&amp; x)
</pre>

<b>Effects:</b> Constructs a bitset that is a copy of the bitset
<tt>x</tt>. The allocator for this bitset is a copy of the
all