General question about vectors

Chris Sherlock chris.sherlock79 at gmail.com
Sun Jan 26 16:35:22 PST 2014


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?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140127/c5075436/attachment.html>


More information about the LibreOffice mailing list