suppress "qualification applied to reference" warning for MSVC

[SVN r7884]
This commit is contained in:
Dave Abrahams
2000-10-01 14:57:44 +00:00
parent 62a6c65c48
commit f083ce196f

View File

@ -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<T>
template <typename T> struct is_reference
{
@ -294,6 +299,10 @@ template <> struct is_reference<void>
enum{ value = false };
};
# ifdef BOOST_MSVC
# pragma warning(pop)
# endif // BOOST_MSVC
//*? is a type T a union type - is_union<T>
template <typename T> struct is_union
{ enum{ value = BOOST_IS_UNION(T) }; };