[Bug c++/24795] Error in dependent name-lookup

2005-12-24 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2005-12-25 02:14 --- > We're still speaking about > > namespace X { > struct A {}; > struct B {}; > } > > void foo(X::A&); > > template > void g(T& t) > { > foo(t); > } > > void foo(X::B&); > > void bar(X::B& b) > { > g(b); >

[Bug c++/24795] Error in dependent name-lookup

2005-11-11 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2005-11-11 17:45 --- (In reply to comment #7) > by 14.6.2/1 I would expect search from both instantiation and definition. > by 14.6.4/1 I would expect (as is the case for 4.1) search from the > instantiation > point to be restricted to n