Boost logo

Boost :

Subject: Re: [boost] [Proto][MPL]Missing ADL barrier in MPL
From: Eric Niebler (eric_at_[hidden])
Date: 2009-10-12 08:49:14

Joel Falcou wrote:
> I've just hit a spurrious ADL resolution using MPL and Proto.
> I made a new function called size that took a proto expression
> and I get the compiler to complain about ambiguity between
> mpl::size<T> and my own size() function.
> I tried to add ADL Barrier to size by looking at how it was used
> in other MPL components but it still fail to resolve the proper symbol
> under gcc 4.3.
> Any idea on what to do to fix that ?

Could you send a repro?

Eric Niebler
BoostPro Computing

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