]> git.donarmstrong.com Git - rsem.git/blobdiff - boost/type_traits/has_trivial_constructor.hpp
Updated boost to v1.55.0
[rsem.git] / boost / type_traits / has_trivial_constructor.hpp
index f9ade5d1d42cb8b2b1c5563689f009fea78ad89a..30dbdd8f93398b7b46020eb25e56eb4e700ffa55 100644 (file)
@@ -24,11 +24,19 @@ namespace detail {
 template <typename T>
 struct has_trivial_ctor_impl
 {
+#ifdef BOOST_HAS_TRIVIAL_CONSTRUCTOR
    BOOST_STATIC_CONSTANT(bool, value =
       (::boost::type_traits::ice_or<
          ::boost::is_pod<T>::value,
          BOOST_HAS_TRIVIAL_CONSTRUCTOR(T)
       >::value));
+#else
+   BOOST_STATIC_CONSTANT(bool, value =
+      (::boost::type_traits::ice_or<
+         ::boost::is_pod<T>::value,
+         false
+      >::value));
+#endif
 };
 
 } // namespace detail