Boost logo

Boost :

Subject: Re: [boost] [Fusion] begin/end ADL issues with C++0x range-based for
From: Michel MORIN (mimomorin_at_[hidden])
Date: 2010-12-21 01:46:13


Joel de Guzman wrote:
>> A. (almost the same as Jeffrey's suggestion)
>> If boost::fusion::begin/end doesn't need to be found via ADL,
>> then use ADL barrier technique to fusion::begin/end
>> (i.e. defining begin/end in another namespace and pull its name
>> in namespace fusion by using directive/declaration).
>
> A is the only viable option, AFAIK.

+1

Regards,
Michel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk