// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. // 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_DESTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED #include #include #ifdef BOOST_HAS_TRIVIAL_DESTRUCTOR #if defined(BOOST_INTEL) || defined(BOOST_MSVC) #include #endif #ifdef BOOST_HAS_SGI_TYPE_TRAITS #include #endif #if defined(__GNUC__) || defined(__clang__) || defined(__SUNPRO_CC) #include #endif namespace boost { template struct has_trivial_destructor : public integral_constant{}; #else #include namespace boost{ template struct has_trivial_destructor : public integral_constant::value>{}; #endif template <> struct has_trivial_destructor : public false_type{}; #ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS template <> struct has_trivial_destructor : public false_type{}; template <> struct has_trivial_destructor : public false_type{}; template <> struct has_trivial_destructor : public false_type{}; #endif } // namespace boost #endif // BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED