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

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-02-08 23:24:16


#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: new
 Milestone: To Be Determined | Component: result_of
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by Zenju):

 I have the same problem, but disabling the warning when including
 "thread.hpp" is not sufficient. ADL drags in this overload (and thereby
 the warning) on multiple occasions in my own code when using a member of
 namespace boost with the commma-operator, e.g. a boost::unique_future:

 {{{
     std::list<boost::unique_future<bool>> dirEx;
     [...]

     auto itDirname = dirnames.begin();
     for (auto it = dirEx.begin(); it != dirEx.end(); ++it, ++itDirname)
         [...]
 }}}

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