
30 Sep
2008
30 Sep
'08
3:54 p.m.
on Mon Sep 29 2008, "Peter Dimov" <pdimov-AT-pdimov.com> wrote:
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.
phoenix::bind could dispatch to the current implementation of boost::bind for broken compilers. -- Dave Abrahams BoostPro Computing http://www.boostpro.com