Boost logo

Boost :

Subject: Re: [boost] [fusion] Qualification of 'at' and 'deref' in fusion (Ticket #4755)
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-06-14 18:09:18

Mathias Gaunard-2 wrote:
> On 14/06/2011 23:08, Vicente Botet wrote:
>> This is quite annoying. Does it means that every C++ header must use
>> qualified symbols to avoid possible conflicts
> Welcome to ADL.

I don't think the conflict is related to ADL, as the conflict is between a
function and a class, isn't it?

>> when the user introduces them
>> via 'using'?
> You don't need to use 'using' to run into this kind of trouble.
> boost::fusion::vector2< boost::mpl::int_<1>, boost::mpl::int_<2> > is
> enough to make everything ambiguous.

If the headers qualify any symbol, the preceding is not ambiguous. Of
course, the user needs to be aware that there is a potential conflict for at
and deref, and should also use qualification to avoid the conflicts.

I'm missing something?


View this message in context:
Sent from the Boost - Dev mailing list archive at

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