On Aug 12, 11:57 pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote:
> Alan Woodland wrote:
> > I'll be filing a bug against g++ shortly given that g++ (GCC) 4.3.0
> > 20070720 also seems to have this problem.
> I would wait a couple of days... I have a sneaky feeling James Kanze
> will want to chime in. <g>
Obviously

. In this case, I don't find the standard as clear
as you do (but your interpretation is definitly one possible
one, and probably the intended one), so I wouldn't treat g++ too
harshly; they may just have interpreted the standard
differently. The current draft, however, adds an additional
qualification to ADL which says, literally "All names except
those of (possibly overloaded) functions and function templates
are ignored." So I'm sure that whatever the original reasons
why g++ behaves as it does, they'll want to change it to conform
to what the future standard will say.
--
James Kanze (GABI Software) email:
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34