Boost logo

Boost :

Subject: Re: [boost] [bind][phoenix] unified placeholders, yea or nay?
From: Eric Niebler (eric_at_[hidden])
Date: 2012-05-28 01:13:47


On 5/27/2012 8:26 PM, lcaminiti wrote:
> Eric Niebler-3 wrote
>> On 5/27/2012 4:35 PM, lcaminiti wrote:
>>>
>>> What are the benefits of the unification?
>>
>> No more ambiguity errors. Phoenix and bind would share placeholders.
>
> This seems useful to me (especially if it does not come to the price of more
> complex Bind compiler errors).
>
> However, would the ambiguity also be resolved by moving Bind's placeholders
> out of the global namespace and have users do using namespace boost::bind...
> or using namespace boost::phoenix... explicitly? If so, which fix is better?

I am not proposing making any change that would break end-user code. I'm
not necessarily opposed to that change, it's merely a separate
discussion. If that's an issue that is important to you, please start a
separate thread.

Thanks,

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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