
12 Jun
2010
12 Jun
'10
6:04 p.m.
At Fri, 11 Jun 2010 12:36:56 -0400, Eric Niebler wrote:
On 6/11/2010 12:27 PM, David Abrahams wrote:
At Fri, 11 Jun 2010 12:12:27 -0400,
That gives us an opportunity to add a new feature to Phoenix: default capture modes. I could see something like:
ref[ phoenix-lambda-expression ]
makes default capture by-ref, and
val[ phoenix-lambda-expression ]
I would be cautious about emulating C++0x lambdas. I'm not sure yet that they don't suck.
They suck, but not for this reason. ;-)
I don't know. The more I learn about the capture rules, suckier they seem. -- Dave Abrahams BoostPro Computing http://www.boostpro.com