annotate DEPENDENCIES/generic/include/boost/serialization/detail/is_default_constructible.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 #ifndef BOOST_SERIALIZATION_DETAIL_IS_DEFAULT_CONSTRUCTIBLE_HPP
Chris@102 2 #define BOOST_SERIALIZATION_DETAIL_IS_DEFAULT_CONSTRUCTIBLE_HPP
Chris@102 3
Chris@102 4 // MS compatible compilers support #pragma once
Chris@102 5 #if defined(_MSC_VER)
Chris@102 6 # pragma once
Chris@102 7 #endif
Chris@102 8
Chris@102 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
Chris@102 10 // is_default_constructible.hpp: serialization for loading stl collections
Chris@102 11 //
Chris@102 12 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
Chris@102 13 // Use, modification and distribution is subject to the Boost Software
Chris@102 14 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@102 15 // http://www.boost.org/LICENSE_1_0.txt)
Chris@102 16
Chris@102 17 // See http://www.boost.org for updates, documentation, and revision history.
Chris@102 18
Chris@102 19 #ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS
Chris@102 20 #include <type_traits>
Chris@102 21 namespace boost{
Chris@102 22 namespace serialization {
Chris@102 23 namespace detail {
Chris@102 24
Chris@102 25 template<typename T>
Chris@102 26 struct is_default_constructible : std::is_default_constructible<T> {};
Chris@102 27
Chris@102 28 } // detail
Chris@102 29 } // serializaition
Chris@102 30 } // boost
Chris@102 31 #else
Chris@102 32 #include <boost/type_traits/has_trivial_constructor.hpp>
Chris@102 33 namespace boost{
Chris@102 34 namespace serialization {
Chris@102 35 namespace detail {
Chris@102 36
Chris@102 37 template<typename T>
Chris@102 38 struct is_default_constructible : boost::has_trivial_constructor<T> {};
Chris@102 39
Chris@102 40 } // detail
Chris@102 41 } // serializaition
Chris@102 42 } // boost
Chris@102 43 #endif
Chris@102 44
Chris@102 45 #endif // BOOST_SERIALIZATION_DETAIL_IS_DEFAULT_CONSTRUCTIBLE_HPP