Sha256: a6392d20e8f1269cc1e862906d1e453615a98ce366ad84a258056b1a747cb594

Contents?: true

Size: 927 Bytes

Versions: 14

Compression:

Stored size: 927 Bytes

Contents

/*
Copyright 2020 Glen Joseph Fernandes
(glenjofe@gmail.com)

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)
*/

#ifndef BOOST_TT_IS_TRIVIALLY_COPYABLE_HPP_INCLUDED
#define BOOST_TT_IS_TRIVIALLY_COPYABLE_HPP_INCLUDED

#include <boost/type_traits/has_trivial_assign.hpp>
#include <boost/type_traits/has_trivial_copy.hpp>
#include <boost/type_traits/has_trivial_destructor.hpp>
#include <boost/type_traits/has_trivial_move_assign.hpp>
#include <boost/type_traits/has_trivial_move_constructor.hpp>

namespace boost {

template<class T>
struct is_trivially_copyable
    : integral_constant<bool, has_trivial_copy<T>::value &&
        has_trivial_assign<T>::value &&
        has_trivial_move_constructor<T>::value &&
        has_trivial_move_assign<T>::value &&
        has_trivial_destructor<T>::value> { };

} /* boost */

#endif

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp