
Joel de Guzman schrieb:
On 12/19/10 12:03 AM, Christopher Schmidt wrote:
Michel MORIN schrieb:
Hi,
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
[snip]
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?
Regards, Michel
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.
Regards,
Committed: https://svn.boost.org/trac/boost/changeset/67352 Unfortunately this still leaves us with ADL ambiguity in some cases: https://svn.boost.org/trac/boost/ticket/4028#comment:6 -Christopher