|
Boost Users : |
Subject: Re: [Boost-users] [Bind] Placeholder scope
From: Michael Caisse (boost_at_[hidden])
Date: 2009-06-07 01:49:52
Steven Watanabe wrote:
> AMDG
>
> Robert Jones wrote:
>> I have just spent several hours digging out a compile problem which
>> turned
>> out to be a conflict between Boost.Bind and Boost.Lambda, which seems
>> to arise because the Boost.Bind placeholders (_1, etc.) are in the
>> global
>> namespace, so if "using namespace boost::lambda;" is in effect the Bind
>> placeholder is used rather than the Lambda placeholder.
>>
>> I wonder why the Bind placeholders are in the global namespace?
>>
>
> It's an historical artifact which has never been fixed.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
I suspect all of us have been bitten by this at least once.
Would a patch be welcome to resolve it or would it break too many
historical artifacts with the change?
michael
-- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com
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