
13 Dec
2019
13 Dec
'19
5:58 p.m.
Niall Douglas wrote:
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.
Personally speaking, I think the macro `BOOST_BIND_NO_PLACEHOLDERS` needs to become `BOOST_BIND_ENABLE_GLOBAL_PLACEHOLDERS`. People can still use <boost/bind.hpp>, but they'll need to explicitly opt into the old behaviour.
That's true in principle, and will be my next step, at some point. But what's also true is that people don't appreciate their code - that has worked for decades - to be broken. Just grep for <boost/bind.hpp> within Boost, and extrapolate.