Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7663: warning C4913: user defined binary operator ', ' exists but no overload could convert all operands, default built-in binary operator ', ' used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-10 21:08:08
#7663: warning C4913: user defined binary operator ',' exists but no overload
could convert all operands, default built-in binary operator ',' used
--------------------------------------+-------------------------------------
Reporter: jeffrey.flinn@⦠| Owner: eric_niebler
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: result_of
Version: Boost 1.52.0 | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+-------------------------------------
Comment (by eric_niebler):
Sure it does.
{{{
C:\boost\org\branches\release>svn diff -c 83381
boost\utility\result_of.hpp
Index: boost/utility/result_of.hpp
===================================================================
--- boost/utility/result_of.hpp (revision 83380)
+++ boost/utility/result_of.hpp (revision 83381)
@@ -68,6 +68,13 @@
#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_weird_type {
Property changes on: boost/utility/result_of.hpp
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/boost/utility/result_of.hpp:r82960
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7663#comment:13> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC