------- 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 there was a DR report about this too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24594