Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-29 13:15:10


Eric Niebler:

> Lambda has some quirks that it would be best to leave behind.

I agree, but I suspect that we don't agree on the specific quirks to be left
behind.

The unary & is on the top of my list. &x should never be overloaded, IMHO.
Yes, we do have addressof. I'd still have gone with addr(_1) instead.

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.

> 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.

Apart from that, I'm not a Lambda user, so I don't have an opinion. :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk