Define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS even if BOOST_NO_CXX11_DEFAULTED_FUNCTIONS are not defined

This commit is contained in:
Antony Polukhin
2014-08-22 19:01:53 +04:00
parent 2c0d0ed559
commit 2abc483055

View File

@ -321,7 +321,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
// Intel 13.10 fails to access defaulted functions of a base class declared in private or protected sections,
// producing the following errors:
// error #453: protected function "..." (declared at ...") is not accessible through a "..." pointer or object
#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && (BOOST_INTEL_CXX_VERSION <= 1310)
#if (BOOST_INTEL_CXX_VERSION <= 1310)
# define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
#endif