[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

Subject: [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: 2012-11-08 12:50:36


#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: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: utility
  Version: Boost 1.52.0 | Severity: Cosmetic
 Keywords: |
-------------------------------------+--------------------------------------
 Gennadiy reports in trunk:

 boost/thread/future.hpp(378) : warning C4913: user defined binary operator
 ','
 exists but no overload could convert all operands, default built-in binary
 operator ',' used

 I get with VC2012 and boost_1_52_0:

 boost_1_52_0\boost/thread/future.hpp(293): warning C4913: user defined
 binary operator ',' exists but no overload could convert all operands,
 default built-in binary operator ',' used

 Nigel Pattinson reports a similar issue with VC2008 and unspecified boost
 version. He finds that:

 "The comma
 operator in question is the one in boost/utility/result_of.hpp at line 74
 -
 if I comment that line out everything compiles fine. It is just a warning,
 so rather than changing result_of.hpp our current workaround is just to
 disable the warning around the inclusion of future.hpp ."

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7663>
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:11 UTC