Subject: Re: [boost] phoenix::bind
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-09-29 23:04:45
Eric Niebler wrote:
> Peter Dimov wrote:
>> Eric Niebler:
>> The other thorny issue is that lambda expressions aren't Assignable,
>> because their operator= creates a new lambda exression instead. This
>> might well be unfixable.
> We could make lambdas Assignable by defining the ordinary assignment
> operator when the rhs has the same type as the lhs. That would rule out
> strange lambdas like "_1 = _1" , but I don't see that as a huge loss.
I think that's a good compromise.
>>> I support Joel's approach of deprecating the old lambda interface and
>>> migrating folks to phoenix.
>> I've always thought that the plan was for Lambda and Phoenix to merge
>> one day.
> That used to be the plan, long ago before Joel came to fully appreciate
> the subtle differences between the two.
>> Apart from that, I'm not a Lambda user, so I don't have an opinion. :-)
> Even your non-opinions are valuable. :-)
Peter, you rock! I highly value all your opinions.
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk