title: Can I increment an iterator by just adding a number?
body: <p>Can I do normal computations with iterators, i.e. just increment it by adding a number? </p>
  
  <p>As an example, if I want to remove the element <code>vec[3]</code>, can I just do this:</p>
  
  <pre><code>std::vector&lt;int&gt; vec;
  for(int i = 0; i &lt; 5; ++i){
        vec.push_back(i);
  }
  vec.erase(vec.begin() + 3); // removes vec[3] element
  </code></pre>
  
  <p>It works for me (g++), but I'm not sure if it is <em>guaranteed</em> to work.</p>