On 01/27/2014 06:34 AM, Andrew Douglas Pitonyak wrote:
On 01/26/2014 07:35 PM, Chris Sherlock 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 speci
On 01/26/2014 07:35 PM, Chris Sherlock 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?
I t
On Mon, Jan 27, 2014 at 11:35:22AM +1100, Chris Sherlock
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 o
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
_