title: Does resizing an outer vector copies the inner vector?
body: <p>Say you have a vector of vector:</p>
  
  <pre><code>vector&lt;vector&lt;string&gt; &gt; v;
  </code></pre>
  
  <p>when the internal array of the outer vector is resized (and suppose the internal array also have to be reallocated to a different address), for example by doing lots of <code>v.push_back()</code>, does the internal array of the inner vectors get copied as well (because vector's copy constructor usually copies the internal array), or does C++ have a way to resize the outer vector without copying everything recursively?</p>
  
  <p>Does C++11 move constructor affect this? Does this depend on the STL implementation?</p>