mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 12:57:26 +02:00
Disable msvc warnings around tn_is_function
This commit is contained in:
@ -88,10 +88,19 @@ template<class T> struct tn_remove_const<T const>
|
|||||||
|
|
||||||
// tn_is_function (also catches references but that's OK)
|
// tn_is_function (also catches references but that's OK)
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
# pragma warning(push)
|
||||||
|
# pragma warning(disable: 4180 4181)
|
||||||
|
#endif
|
||||||
|
|
||||||
template<class T, class U = typename tn_remove_const<T>::type> struct tn_is_function: core::is_same<U, U const>
|
template<class T, class U = typename tn_remove_const<T>::type> struct tn_is_function: core::is_same<U, U const>
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
# pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_NO_TYPEID)
|
#if !defined(BOOST_NO_TYPEID)
|
||||||
|
|
||||||
// typeid_name
|
// typeid_name
|
||||||
|
Reference in New Issue
Block a user