title: Does clearing a vector affect its capacity?
body: <p>I instantiate an <code>std::vector foo(1000)</code>.</p>
  
  <p><code>foo.size()</code> is now 1000 and <code>foo.capacity()</code> is also 1000.</p>
  
  <p>If I clear the vector with <code>foo.clear()</code>, the <code>size()</code> is now 0, but what is the <code>capacity()</code>? Does the standard say anything about that?</p>