Boost logo

Boost :

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


Joel de Guzman:
> Peter Dimov wrote:
...
>> Is it a goal of phoenix::bind to one day replace lambda::bind and
>> boost::bind, being a superset of both, as well of std::bind?
>
> lambda::bind, yes. std::bind cannot be replaced. boost::bind, too,
> IMO cannot be replaced, not in a long time, due to, as you said
> below, it works on more compilers.

It can be replaced on the compilers on which Phoenix works. It can also
conform to the specification of std::bind, allowing people to move code back
and forth.

> I supported the lambda tests in phoenix.

This is very reassuring. Have you considered making a "reimplementation" of
Lambda's headers part of the reviewed library? Might this be a feature that
would convince people that it is not necessary to wait for V3 in order to
"accept" Phoenix? Lambda's interface is stable and moving from V2 to V3 will
not affect its users.


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