
13 Dec
2019
13 Dec
'19
4:57 p.m.
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.