title: Performance difference between ++iterator and iterator++?
body: <p>My workmate claims that for object types preincrement is more efficient than post increment</p>
  
  <p>e.g.</p>
  
  <pre><code>std::vector&lt;std::string&gt; vec;
  
  ... insert a whole bunch of strings into vec ...
  
  // iterate over and do stuff with vec.  Is this more efficient than the next 
  // loop?
  std::vector&lt;std::string&gt;::iterator it;
  for (it = vec.begin(); it != vec.end(); ++it){
  
  }
  
  // iterate over and do stuff with vec.  Is this less efficient than the previous loop?
  std::vector&lt;std::string&gt;::iterator it;
  for (it = vec.begin(); it != vec.end(); it++){
  
  }
  </code></pre>