Sha256: 7067b76158c6328cf2ba9bf3d022e1a25e47bdeb9a33101899d1201174fc9194

Contents?: true

Size: 1.64 KB

Versions: 12

Compression:

Stored size: 1.64 KB

Contents

//  (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 <boost/type_traits/intrinsics.hpp>
#include <boost/type_traits/integral_constant.hpp>

#ifdef BOOST_HAS_TRIVIAL_DESTRUCTOR

#if defined(BOOST_INTEL) || defined(BOOST_MSVC)
#include <boost/type_traits/is_pod.hpp>
#endif
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
#include <boost/type_traits/is_same.hpp>
#endif

#if defined(__GNUC__) || defined(__clang) || defined(__SUNPRO_CC)
#include <boost/type_traits/is_destructible.hpp>
#endif

namespace boost {

template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
#else
#include <boost/type_traits/is_pod.hpp>

namespace boost{

template <typename T> struct has_trivial_destructor : public integral_constant<bool, ::boost::is_pod<T>::value>{};
#endif

template <> struct has_trivial_destructor<void> : public false_type{};
#ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
template <> struct has_trivial_destructor<void const> : public false_type{};
template <> struct has_trivial_destructor<void const volatile> : public false_type{};
template <> struct has_trivial_destructor<void volatile> : public false_type{};
#endif

} // namespace boost

#endif // BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.1.0 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.30 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.29 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/passenger-5.0.28/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.28 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.27 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.26 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp
passenger-5.0.25 src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp