Subject: Re: [boost] [Fusion] begin/end ADL issues with C++0x range-based for
From: Christopher Schmidt (mr.chr.schmidt_at_[hidden])
Date: 2010-12-20 12:21:49
Joel de Guzman schrieb:
> On 12/19/10 12:03 AM, Christopher Schmidt wrote:
>> Michel MORIN schrieb:
>>> In some cases, Fusion Sequence cannot be used in
>>> C++0x range-based for (available on GCC 4.6 Pre-Release).
>>> For example, this code
>>> I attached a patch (against trunk) and a test case.
>>> The test case does not compile before applying the patch,
>>> but compiles fine after applying the patch.
>>> Joel and Christopher, what do you think about this change?
>> Your patch makes perfect sense to me.
>> BTW., Mathias Gaunard created a ticket for this issue a while ago. He
>> also proposed disabling fusion::begin/fusion::end via SFINAE.
> Makes perfect sense. Feel free to commit the patch.
Unfortunately this still leaves us with ADL ambiguity in some cases:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk