Boost logo

Boost :

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.
> or
> - 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.

> Regards,
> Michel
> Regards,
Neil Groves

Boost list run by bdawes at, gregod at, cpdaniel at, john at