|
Boost Users : |
Subject: Re: [Boost-users] [Lambda] Handling Bind/Lambda name clashes.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-06 10:24:07
AMDG
On 04/06/2011 04:02 AM, Robert Jones wrote:
> On Wed, Apr 6, 2011 at 11:53 AM, Eric Niebler<eric_at_[hidden]> wrote:
>
>> On 4/6/2011 5:12 AM, Peter Dimov wrote:
>>> You could very well make the case that, indeed, nothing but
>>> subnamespaces should be in boost.
>>
>> I'm not making that case, exactly. I'm saying that boost::function
>> should actually be defined in boost::function_adl_block and be imported
>> into the boost namespace with a using declaration.
>>
>>
> Forgiver my ignorance here, but if you do that which namespaces are then
> considered for ADL? boost, boost::function_adl_block or both?
>
ADL only considers the namespace that the
type is originally defined in. Using declarations
don't increase the set of associated namespaces.
In Christ,
Steven Watanabe
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