
1 Jan
2013
1 Jan
'13
4:37 p.m.
On Tue, Jan 01, 2013 at 05:09:58PM +0100, Mathias Gaunard wrote:
On 01/01/13 16:34, Sean Farrow wrote:
I’m trying to convert a BOOST_FOREACH loop to use the new lambda syntax:
Why don't you use C++11 range-for loops instead?
A wild guess is that lambdas have wider compiler support than range-for, across the board. Never underestimate the power of being able to target a wider set of deployed compilers, even if they're inferior. -- Lars Viklund | zao@acc.umu.se