Suppress annoying MSVC warnings

[SVN r35424]
This commit is contained in:
Douglas Gregor
2006-09-29 17:23:28 +00:00
parent 0123f84bff
commit d92355cca2

View File

@ -75,6 +75,11 @@
# pragma warning(disable: 4127) // conditional expression is constant.
#endif
#ifdef BOOST_MSVC
# pragma warning(push)
# pragma warning(disable: 4127) // conditional expression is constant.
#endif
namespace boost {
namespace detail {
namespace function {
@ -793,6 +798,10 @@ public:
}
};
#ifdef BOOST_MSVC
# pragma warning(pop)
#endif
#undef BOOST_FUNCTION_PARTIAL_SPEC
#endif // have partial specialization