Re: [Libreoffice-commits] use init lists for property sequences

2015-02-24 Thread Stephan Bergmann
On 02/24/2015 12:32 PM, Bjoern Michaelsen wrote: On Tue, Feb 24, 2015 at 08:13:56AM +0100, Stephan Bergmann wrote: Rather than allowing to move out of the temporary pair, better avoid its creation in the first place: for(auto const & aEntry : vInit) Eh, true. But actually, I wante

Re: [Libreoffice-commits] use init lists for property sequences

2015-02-24 Thread Bjoern Michaelsen
Hi, On Tue, Feb 24, 2015 at 08:13:56AM +0100, Stephan Bergmann wrote: > Rather than allowing to move out of the temporary pair, better avoid > its creation in the first place: > >for(auto const & aEntry : vInit) Eh, true. But actually, I wanted both: Iterating over the pairs in the i