title: Is erasing a range more efficient than erasing each of the elements separately?
body: <p>If you have defined a range of elements you want to &quot;erase&quot;, is it more efficient to call <code>vector::erase(iterator)</code> for every element in the range, or to call <code>vector::erase(iterator,iterator</code> once?</p>