// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. // (C) Copyright Eric Friedman 2002-2003. // (C) Copyright Antony Polukhin 2013. // Use, modification and distribution are subject to 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). // // See http://www.boost.org/libs/type_traits for most recent version including documentation. #ifndef BOOST_TT_HAS_TRIVIAL_MOVE_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_MOVE_ASSIGN_HPP_INCLUDED #include // size_t #include #include #if !defined(BOOST_HAS_TRIVIAL_MOVE_ASSIGN) || defined(BOOST_MSVC) || defined(BOOST_INTEL) #include #include #include #ifdef BOOST_MSVC #include #endif #endif #if defined(__GNUC__) || defined(__clang__) #include #include #endif #ifdef __SUNPRO_CC #include #include #if __cplusplus >= 201103 #define SOLARIS_EXTRA_CHECK && is_assignable::type&, typename remove_const::type&&>::value #endif #endif #ifndef SOLARIS_EXTRA_CHECK #define SOLARIS_EXTRA_CHECK #endif namespace boost{ template struct has_trivial_move_assign : public integral_constant::value && !::boost::is_const::value && !::boost::is_volatile::value SOLARIS_EXTRA_CHECK #endif > {}; template <> struct has_trivial_move_assign : public false_type{}; #ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS template <> struct has_trivial_move_assign : public false_type{}; template <> struct has_trivial_move_assign : public false_type{}; template <> struct has_trivial_move_assign : public false_type{}; #endif template struct has_trivial_move_assign : public false_type{}; #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES template struct has_trivial_move_assign : public false_type{}; #endif // Array types are not assignable: template struct has_trivial_move_assign : public false_type{}; template struct has_trivial_move_assign : public false_type{}; } // namespace boost #undef SOLARIS_EXTRA_CHECK #endif // BOOST_TT_HAS_TRIVIAL_MOVE_ASSIGN_HPP_INCLUDED