diff --git a/include/boost/detail/ob_type_traits.hpp b/include/boost/detail/ob_type_traits.hpp index bfd4fc3..b579630 100644 --- a/include/boost/detail/ob_type_traits.hpp +++ b/include/boost/detail/ob_type_traits.hpp @@ -281,6 +281,11 @@ public: && (1 == sizeof(detail::is_pointer_helper(t)))}; }; +# ifdef BOOST_MSVC +# pragma warning(push) +# pragma warning(disable: 4181) +# endif // BOOST_MSVC + //* is a type T a reference type - is_reference template struct is_reference { @@ -294,6 +299,10 @@ template <> struct is_reference enum{ value = false }; }; +# ifdef BOOST_MSVC +# pragma warning(pop) +# endif // BOOST_MSVC + //*? is a type T a union type - is_union template struct is_union { enum{ value = BOOST_IS_UNION(T) }; };