Boost logo

Boost :

Subject: Re: [boost] Removing Bind placeholders from the global namespace
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-13 14:10:21


AMDG

Peter Dimov wrote:
> This topic has again come up recently in boost-users. I have already
> assigned myself a ticket,
>
> https://svn.boost.org/trac/boost/ticket/2240
>
> but have done nothing so far, in part because it would break other
> Boost libraries. (Patching placeholders.hpp is trivial in itself.)
>
> This is one case in which the trunk/release procedures don't work well
> as-is unless someone volunteers to produce a patch against all of
> Boost that at once moves the placeholders into namespace
> boost::placeholders _and_ fixes all errors that this would cause.
>
> It'd be easier to split the work: I put the breaking change in and
> then the libraries are fixed one by one. :-)
>
> Comments?

Wouldn't it be possible to have the placeholders in both boost::placeholders
and in the global namespace and deprecate the ones in the global namespace,
so that the changes don't need to be made all at once?

In Christ,
Steven Watanabe


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