Subject: Re: [boost] [Fusion] begin/end ADL issues with C++0x range-based for
From: Neil Groves (neil_at_[hidden])
Date: 2010-12-30 15:18:32
On Thu, Dec 30, 2010 at 6:54 PM, Michel MORIN <mimomorin_at_[hidden]> wrote:
> > ADL for Fusion may be convenient in some cases,
> Such as I/O and comparisons?
> BTW, I'm curious to know which is better in this case:
> - Define Fusion sequences in an ADL-barrier namespace. For the functions
> that need to be found via ADL, also define them in that namespace.
> - Define Fusion's begin/end (and other functions that should NOT be found
> via ADL) in an ADL barrier namespace.
I think that putting the functions into a barrier namespace allows us to
continue using ADL for other functions. For this reason I prefer protecting
the functions. This is what I shall do for Boost.Range begin/end.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk