------- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-03 12:56 ------- GCC 4.1 (and above) is correct, the overloaded set of resolveName should be either the direct namespace of which A resides (the global one) or the ones which are defined before getName. This is the specific template namelookup rules for dependent arguments.
if you want getName to find the correct resolveName here, define resolveName in the same namespace as A is defined (aka the global namespace). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34322