/////////////////////////////////////////////////////////////////////////////// // Copyright 2015 John Maddock. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include #include #include #include #include #include #ifndef BOOST_NO_CXX11_NOEXCEPT #if !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_SFINAE_EXPR) || defined(BOOST_IS_NOTHROW_MOVE_CONSTRUCT) // // Move construct: // BOOST_STATIC_ASSERT(boost::is_nothrow_move_constructible::value); #endif #if !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_SFINAE_EXPR) || defined(BOOST_IS_NOTHROW_MOVE_ASSIGN) // // Move assign: // BOOST_STATIC_ASSERT(boost::is_nothrow_move_assignable::value); #endif // // Construct: // #ifdef BOOST_HAS_NOTHROW_CONSTRUCTOR BOOST_STATIC_ASSERT(boost::has_nothrow_constructor::value); #endif // // Copy construct: // #ifdef BOOST_HAS_NOTHROW_COPY BOOST_STATIC_ASSERT(boost::has_nothrow_copy::value); #endif // // Assign: // #ifdef BOOST_HAS_NOTHROW_ASSIGN BOOST_STATIC_ASSERT(boost::has_nothrow_assign::value); #endif #endif // noexcept