title: Erasing vector::end from vector
body: <p>Does it works correct(does nothing) when I use</p>
  
  <pre><code> vector&lt;T&gt; v;
   v.erase(v.end());
  </code></pre>
  
  <p>I want to use something like</p>
  
  <pre><code> v.erase(std::find(...));
  </code></pre>
  
  <p>Should I <code>if</code> is it <code>v.end()</code> or not?<br>
  There is no info about it on <a href="http://www.cplusplus.com/reference/stl/vector/erase/" rel="noreferrer">C++.com</a> and <a href="http://en.cppreference.com/w/cpp/container/vector/erase" rel="noreferrer">CPPreference</a></p>