|
Boost Users : |
Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-08-28 23:11:41
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net