]> git.donarmstrong.com Git - rsem.git/blobdiff - boost/type_traits/is_union.hpp
Updated boost to v1.55.0
[rsem.git] / boost / type_traits / is_union.hpp
index 25bddccfe1a7fcbf20caac47ca2190c9640d41a4..610f162ba41cc619f8f3f389836498368b57f76c 100644 (file)
@@ -25,7 +25,11 @@ namespace detail {
 template <typename T> struct is_union_impl
 {
    typedef typename remove_cv<T>::type cvt;
+#ifdef BOOST_IS_UNION
    BOOST_STATIC_CONSTANT(bool, value = BOOST_IS_UNION(cvt));
+#else
+   BOOST_STATIC_CONSTANT(bool, value = false);
+#endif
 };
 #else
 //
@@ -35,7 +39,11 @@ template <typename T> struct is_union_impl
 //
 template <typename T> struct is_union_impl
 {
+#ifdef BOOST_IS_UNION
    BOOST_STATIC_CONSTANT(bool, value = BOOST_IS_UNION(T));
+#else
+   BOOST_STATIC_CONSTANT(bool, value = false);
+#endif
 };
 #endif
 } // namespace detail