title: vector pointer locations guaranteed?
body: <p>Suppose I have a vector of ints,</p>
  
  <pre><code>std::vector&lt;int&gt; numbers;
  </code></pre>
  
  <p>that is populated with a bunch of values, then I say do this (where an entry exists at 43)</p>
  
  <pre><code>int *oneNumber = &amp;numbers[43];
  </code></pre>
  
  <p>Is oneNumber guaranteed to always be pointing at the int at index 43, even if say I resize numbers to something like numbers.resize(46)?</p>
  
  <p>I'm not 100% sure what expected behaviour is here, I know vectors are guaranteed to be contiguous but not sure if that continuity would also mean all the indices in the vector will remain in the same place throughout its life.</p>