9 Apr
2014
9 Apr
'14
5:43 p.m.
On Wednesday 09 April 2014 13:28:16 Richard Hadsell wrote:
I also didn't replace BOOST_NO_DEFAULTED_FUNCTIONS with BOOST_NO_CXX11_DEFAULTED_FUNCTIONS, not knowing the current preference.
BOOST_NO_DEFAULTED_FUNCTIONS is deprecated, BOOST_NO_CXX11_DEFAULTED_FUNCTIONS should be used instead.
Anyway, I leave it to you to decide how to fix noncopyable.hpp for this minor incompatibility with an ancient compiler. Since BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS exists, it seems reasonable to use it where appropriate.
I'm fine with either approach. Using BOOST_NO_CXX11_DEFAULTED_FUNCTIONS and BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS seems more natural in this particular case.