Boost logo

Boost :

Subject: Re: [boost] [thread] warning in trunk
From: Nigel Pattinson (nigel.pattinson_at_[hidden])
Date: 2012-11-07 20:14:00

Vicente Botet wrote
> Vicente Botet wrote
>> Gennadiy Rozenal wrote
>>> Hi,
>>> Can anyone clean this one:
>>> 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 don't understand why this warning appear, and I will understand it.
>> Anyway, could you create a ticket? Patches welcome.
>> Best,
>> Vicente
> Sorry I meant I *want to* understand it.

We have also encountered this. We are using MSVC 2008 (9.0). 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 .

Hope this helps

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at