Boost logo

Boost Users :

Subject: Re: [Boost-users] [Bind] Placeholder scope
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-06-07 08:29:55


Steven Watanabe wrote:
> Robert Jones wrote:
> > I wonder why the Bind placeholders are in the global namespace?
>
> It's an historical artifact which has never been fixed.

Are you implying that it could/should be fixed?

I have to admit that I ran into the same problem and silently accepted that bind and lambda don't cooperate well. I somehow thought that phoenix would be the successor of lambda, and would solve all these nasty little gotchas (this one is probably solved by using arg1 instead of _1 as placeholder in phoenix).

Regards,
Thomas


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net