Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-12-13 16:57:08


Niall Douglas wrote:

> In boost/bind.hpp there is injection of a boost namespace contents into
> the global namespace:

Including <boost/bind/bind.hpp> doesn't bring the placeholders into the
global namespace; if you don't want them there, just include
<boost/bind/bind.hpp>. <boost/bind.hpp> does for backward compatibility.

> Please fix this in the next release of Boost.

Breaking code without any warning is not a good practice, but I'll mark
<boost/bind.hpp> as deprecated to allow people time to migrate.


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