------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-13 20:24 ------- This has nothing to do with implicity instatiating the template function. NOT_HERE is not dependent so it is looked up as the template function is parsed and not at instatiation time.
This is not a bug and this behavior is required by the standard by the non-dependent namelookup. You were looking into the wrong section (I don't have the standard in front of me but IIRC the section is named template lookup rules). -- 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=26267