------- 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 namespace X. > I do not see how Koenig lookup can make it /fail/, but only work (and that it > doesn't).
Koenig lookup does not apply here as foo is not in the namespace X. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.1 Regression] Error in |Error in dependent name- |dependent name-lookup |lookup http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24795