Re: [Libreoffice] faster stl prefix iterators ...

2010-11-29 Thread Caolán McNamara
On Mon, 2010-11-29 at 10:34 +, Michael Meeks wrote: > Oh nice; not something I had noticed. Can we do a big global hunt & fix > for all these instances ? cppcheck lists these for us, hmm, at least cppcheck *was* listing them for us. Until very recently http://libreoffice.boldandbusted.co

[Libreoffice] faster stl prefix iterators ...

2010-11-29 Thread Michael Meeks
On Sat, 2010-11-27 at 21:02 +, Caolán McNamara wrote: > As Takeshi pointed out in another mail, the postfix form returns a copy > of the iterator as it was before the increment, while the prefix form > returns a reference to the current value after its increment. So postfix > requires an extra