Suppress MSVC level 4 warnings

This commit is contained in:
Peter Dimov committed 2017-12-12 00:34:17 +02:00
1 parent c273159c94
commit 26e2302f3b
8 files changed
+45 -5

No files matched your search

+9
View File
@@ -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