Boost logo

Boost :

Subject: Re: [boost] Removing _1 from the global namespace (again)
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-12-14 19:58:06


On Dec 14, 2013, at 3:19 PM, Alexander Lamaison <awl03_at_[hidden]> wrote:

> Chris Brown <ccbrown112_at_[hidden]> writes:
>
>> On 12/14/13, 8:56 AM, Peter Dimov wrote:
>>> If we're going to call the next release 2.0, we'll be allowed some
>>> latitude with respect to breaking changes, so maybe this is the right
>>> time to finally remove the Bind placeholders from the global namespace.
>>>
>>> This will, however, break many things all around Boost (to say nothing
>>> about the outside world), as a quick grep can readily reveal. And,
>>> consequently, it will generate a certain amount of work for the
>>> maintainers of the affected libraries that, from their point of view,
>>> can appear unnecessary.
>>>
>>> So I'll need a certain amount of community consensus before going ahead
>>> and breaking everyone's code. :-)
>>>
>> I can't speak for the maintainers, but as someone that would have
>> considerable "outside world" breakage, I'm still very much in support
>> of this. If there were ever a right time to do it (other than from the
>> start of course), it would be 2.0.
>
> Not to mention that C++11 is now truly upon us, and they have the bind
> placeholders in `namespace std::placeholders`. Basically, you'd just be
> aligning with the standard, the way Boost.Thread, Boost.System and
> others have been.

+1

— Marshall


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