disable annoying msvc warning, refs #7663

[SVN r82960]
This commit is contained in:
Eric Niebler 2013-02-17 23:56:10 +00:00
parent 6e2c1b6b53
commit 9284a64936

View File

@ -68,6 +68,13 @@ template<typename F, typename FArgs, bool HasResultType> struct tr1_result_of_im
#ifdef BOOST_NO_SFINAE_EXPR #ifdef BOOST_NO_SFINAE_EXPR
// There doesn't seem to be any other way to turn this off such that the presence of
// the user-defined operator,() below doesn't cause spurious warning all over the place,
// so unconditionally turn it off.
#if BOOST_MSVC
# pragma warning(disable: 4913) // user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used
#endif
struct result_of_private_type {}; struct result_of_private_type {};
struct result_of_weird_type { struct result_of_weird_type {