diff options
Diffstat (limited to 'boost/proto/detail/decltype.hpp')
-rw-r--r-- | boost/proto/detail/decltype.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/proto/detail/decltype.hpp b/boost/proto/detail/decltype.hpp index 6b7416b1b1..92679ab274 100644 --- a/boost/proto/detail/decltype.hpp +++ b/boost/proto/detail/decltype.hpp @@ -34,6 +34,11 @@ #include <boost/utility/result_of.hpp> #include <boost/utility/enable_if.hpp> +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +# pragma warning(push) +# pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined +#endif + #ifndef BOOST_NO_DECLTYPE # define BOOST_PROTO_DECLTYPE_(EXPR, TYPE) typedef decltype(EXPR) TYPE; #else @@ -498,4 +503,8 @@ namespace boost { namespace proto } // namespace detail }} +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +# pragma warning(pop) +#endif + #endif |