Boost logo

Boost :

Subject: Re: [boost] [signals2] lamda placeholder collision
From: Michael Caisse (boost_at_[hidden])
Date: 2010-03-10 10:44:37

Frank Mori Hess wrote:
> Hash: SHA1
> On Wednesday 10 March 2010, Michael Caisse wrote:
>> I converted to phoenix about a year ago and I'll fix this "problem" by
>> moving the lambdas to phoenix ... but ... what is supposed to be the
>> correct course of action for source wanting to use both signals2 and
>> Boost.Lambda?
> This isn't a signals2 specific issue is it? It's more a boost::bind versus
> lambda thing. Anyways, the lambda placeholders are in their own namespace,
> so if you get rid of "using namespace boost::lambda" from your code and
> qualify the uses of the lambda placeholders you should be okay, right? I
> should say though I've never actually tried combining boost::bind and lambda
> myself.

My apologies. I hadn't noticed the using namespace boost::lambda until I
started converting to phoenix.

Thank you for the response.

Michael Caisse
Object Modeling Designs

Boost list run by bdawes at, gregod at, cpdaniel at, john at