Subject: Re: [boost] [bind] Placeholders suggestion, std and boost
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-05-27 21:32:11
On 5/26/2015 6:32 PM, Peter Dimov wrote:
> Glen Fernandes wrote:
>> I propose creating <boost/bind/bind.hpp>. Including it should result
>> in the placeholders being in boost::placeholders namespace.
>> <boost/bind.hpp> would now do nothing more than just include
>> <boost/bind/bind.hpp> and bring all the placeholders into the global
> Done on develop (with a using directive.)
I gather that to use bind with the placeholders in the
boost::placeholders namespace you '#include <boost/bind/bind.hpp>'
whereas to keep the current usage of the placeholders being in the
global namespace you '#include <boost/bind.hpp>'.
I realize 'boost/bind/bind.hpp' is not documented, but maybe it should
be as a means of explaining the above. Would you field a PR on 'develop'
for that ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk