--- Comment #2 from gdr at gcc dot gnu dot org 2005-12-04 05:14 ---
The behaviour is what Standard C++ mandates. Explicit qualification in
the template instructs the compiler to consider only the overload set
avaliable at the definition context, not instantiation context,
-- Gaby
-
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-31 15:41 ---
I think this is invalid as the name is fully qualified:
::f(*this,y);
So it looks up the overloaded set __while__ parsing. This is required for the
two stage name lookup rule for templates. I think