title: shrinking a vector
body: <p>I've got a problem with my terrain engine (using DirectX).</p>
  
  <p>I'm using a vector to hold the vertices of a detail block.
  When the block increases in detail, so the vector does.</p>
  
  <p>BUT, when the block decreases its detail, the vector doesn't shrink in size.</p>
  
  <p>So, my question: is there a way to shrink the size of a vector?
  I did try this:</p>
  
  <pre><code>vertexvector.reserve(16);
  </code></pre>