title: Advance iterator for the std::vector std::advance VS operator +?
body: <p>I found myself writing the following a lot:</p>
  
  <pre><code>int location =2;
  vector&lt;int&gt; vec;
  vector&lt;int&gt;::iterator it=vec.begin();
  
  /..../
  std::advance(it, location);
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code> it= it + 5;
  </code></pre>
  
  <p>what is the Preferred/Recommended way ?</p>