File indexing completed on 2025-01-18 09:36:55
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_GIL_DETAIL_TYPE_TRAITS_HPP
0009 #define BOOST_GIL_DETAIL_TYPE_TRAITS_HPP
0010
0011 #include <boost/config.hpp>
0012
0013 #include <type_traits>
0014
0015 namespace boost { namespace gil { namespace detail {
0016
0017 #if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 50100
0018
0019 template<class T>
0020 struct is_trivially_default_constructible
0021 : std::integral_constant
0022 <
0023 bool,
0024 std::is_default_constructible<T>::value &&
0025 std::has_trivial_default_constructor<T>::value
0026 >
0027 {};
0028
0029 #else
0030
0031 using std::is_trivially_default_constructible;
0032
0033 #endif
0034
0035 using std::is_trivially_destructible;
0036
0037 }}}
0038
0039 #endif