On Mon, Jan 27, 2014 at 11:35:22AM +1100, Chris Sherlock <[email protected]> wrote: > Libreoffice takes advantage of STL vectors throughout the codebase. So just > a general question: under what circumstances is it better to use a for loop > than an STL for_each loop? > > Are there specific advantages to for_each over a regular loop?
It's kind of a stylistic question: http://stackoverflow.com/questions/7985687/why-use-stdfor-each-over-a-for-loop
signature.asc
Description: Digital signature
_______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
