29 Aug
2014
29 Aug
'14
3:11 a.m.
On 8/27/2014 11:56 PM, Mueller-Roemer, Johannes Sebastian wrote:
Thanks, I was about to post the same link, didn't know that GCC 4.9 implements it. In any case, isn't adding new overloads to namespace std as Boost.Coroutine does illegal anyway (as per 17.6.4.2.1 which allows specializations for user defined types, not, however, overloads)?
It is absolutely illegal, and Boost.Coroutine is wrong to do it. You should file a bug. What is wrong with putting the begin/end overloads in the boost::coroutines namespace and letting them be found by ADL? Eric