forked from boostorg/mp11
Suppress MSVC level 4 warnings
This commit is contained in:
1 parent
c273159c94
commit
26e2302f3b
8 files changed
+45
-5
No files matched your search
@@ -16,6 +16,11 @@
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( push )
|
||||
# pragma warning( disable: 4100 ) // unreferenced formal parameter 'tp'
|
||||
#endif
|
||||
|
||||
namespace boost
|
||||
{
|
||||
namespace mp11
|
||||
@@ -85,4 +90,8 @@ template<class Tp, class F> BOOST_CONSTEXPR F tuple_for_each( Tp && tp, F && f )
|
||||
} // namespace mp11
|
||||
} // namespace boost
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( pop )
|
||||
#endif
|
||||
|
||||
#endif // #ifndef BOOST_TUPLE_HPP_INCLUDED
|
||||
Reference in new issue
Block a user