Boost logo

Boost Users :

Subject: Re: [Boost-users] [Lambda] Handling Bind/Lambda name clashes.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2011-05-23 12:42:33


On Thu, Apr 7, 2011 at 3:01 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> AMDG
>
> And what is wrong with leaving bind in the boost namespace as I was
>> suggesting and define boost::function like this:
>>
>> namespace boost {
>> namespace function_adl_block {
>> template<class Sig>
>> struct function {...};
>> }
>> using function_adl_block::function;
>> }
>>
>> Now the "boost" namespace is no longer associated with boost::function,
>> and boost::bind won't be found by ADL. Unless I'm mistaken, and a quick
>> test with comeauonline suggests I'm not. But Steven and Peter are
>> usually right about this stuff, so I'll patiently wait to be corrected
>> and learn. :-)
>>
>>
> Yes, you're correct about this.
>
>
Ok, this seems to be a resolution to the issue. How about this change, and
is there
anyone of greater boosty skills than me who'd do it?

- Rob.



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