diff --git a/include/boost/smart_ptr/detail/sp_noexcept.hpp b/include/boost/smart_ptr/detail/sp_noexcept.hpp index 790af2ce16..3b0d04ed50 100644 --- a/include/boost/smart_ptr/detail/sp_noexcept.hpp +++ b/include/boost/smart_ptr/detail/sp_noexcept.hpp @@ -15,13 +15,12 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt -#include -// BOOST_SP_NOEXCEPT +// BOOST_SP_NOEXCEPT (obsolete, only retained for compatibility) -// #define BOOST_SP_NOEXCEPT noexcept +#define BOOST_SP_NOEXCEPT noexcept -// BOOST_SP_NOEXCEPT_WITH_ASSERT +// BOOST_SP_NOEXCEPT_WITH_ASSERT (noexcept, unless a user assertion handler is present) #if defined(BOOST_DISABLE_ASSERTS) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && defined(NDEBUG) )