title: What are the benefits of using for_each vs. range-for?
body: <p>I know historically it was better to use standard algorithms such as <code>for_each</code> instead of a <code>for</code> loop because they were just more readable. But I just feel like with c++11 the regular for loop is far more terse than the numerous standard algorithms with their corresponding callback functors.</p>
  
  <p>Am I wrong to think this? Are many of the standard algorithms obsolete? What are the different benefits offered by those approaches?</p>