title: Vector erase will not "erase" first element
body: <p>editor is a vector::iterator object and <strong>list is <s>obviously</s> a vector.</strong></p>
  
  <p>I'm wondering why it will not (vector).erase() the first element of the list, and when I try to with only 1 item, it throws an exception.</p>
  
  <pre><code>for (editor = list.begin(); editor &lt; list.end(); ++editor)
      if (*editor == title)           
          list.erase(editor);
  </code></pre>