title: c++ stl what does base() do
body: <p>I have such code :</p>
  
  <pre><code>vector &lt;int&gt; v;
  for (int i=0; i&lt;5; i++)
          v.push_back(i);
  v.erase(find(v.rbegin(), v.rend(),2).base());
  </code></pre>
  
  <p>This code deletes the first element from vector v after first detected 2 (in vector remain: 0 1 2 4).
  What does .base() do here? </p>