title: std::vector<double> shrink to fit?
body: <p>I'm trying to shrink the size of a vector that I have, but i get an error when i use the <code>myvector.shrink_to_fit();</code>
  and it tells me:</p>
  
  <blockquote>
    <p>error: no member named
          '<code>shrink_to_fit' in 'std::vector&lt;double, std::allocator&lt;double&gt; &gt;'</code></p>
  </blockquote>
  
  <p>and myvector is defined in the header as:</p>
  
  <pre><code>std::vector&lt;double&gt; myvector;
  </code></pre>
  
  <p>what does this error mean?</p>