diff --git a/include/boost/core/type_name.hpp b/include/boost/core/type_name.hpp index dfdedd3..8632f81 100644 --- a/include/boost/core/type_name.hpp +++ b/include/boost/core/type_name.hpp @@ -88,10 +88,19 @@ template struct tn_remove_const // tn_is_function (also catches references but that's OK) +#if defined(BOOST_MSVC) +# pragma warning(push) +# pragma warning(disable: 4180 4181) +#endif + template::type> struct tn_is_function: core::is_same { }; +#if defined(BOOST_MSVC) +# pragma warning(pop) +#endif + #if !defined(BOOST_NO_TYPEID) // typeid_name