Is there a maximum to the number of elements in std::bitset? <p>Is there a maximum to the number of elements in an <code>std::bitset</code>?</p> <p>In my code (VC++2010) <code>1&lt;&lt;20</code> crashes with a stack overflow, but <code>1&lt;&lt;19</code> works.</p> <p>(I'm dealing with huge inputs.)</p>