mirror of
https://github.com/boostorg/bind.git
synced 2026-04-08 15:52:01 +02:00
@@ -207,6 +207,13 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
// MSVC is bright enough to realise that the parameter rhs
|
||||
// in operator==may be unused for some template argument types:
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4100)
|
||||
#endif
|
||||
|
||||
template< class A1 > class list1: private storage1< A1 >
|
||||
{
|
||||
private:
|
||||
@@ -846,6 +853,10 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
// bind_t
|
||||
|
||||
#ifndef BOOST_NO_VOID_RETURNS
|
||||
@@ -1654,7 +1665,14 @@ template< class M, class T > struct add_cref< M T::*, 0 >
|
||||
|
||||
template< class M, class T > struct add_cref< M T::*, 1 >
|
||||
{
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4180)
|
||||
#endif
|
||||
typedef M const & type;
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
};
|
||||
|
||||
template< class R, class T > struct add_cref< R (T::*) (), 1 >
|
||||
|
||||
Reference in New Issue
Block a user