[Bug c++/29844] Lookup of template dependent function fails in namespace

2006-11-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-16 04:02 --- This is not a bug. 14.6.4.2 Candidate functions For a function call that depends on a template parameter, if the function name is an unqualified-id but not a template-id, the candidate functions are found using the u

[Bug c++/29844] Lookup of template dependent function fails in namespace

2006-11-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-15 18:10 --- I don't think this is a bug. There are two clauses to the C++ standard about namelookup in templates. One applies where the definition. And the other applies to both definition and instaination but only for the names