This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24795] Error in dependent name-lookup
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2005 17:45:52 -0000
- Subject: [Bug c++/24795] Error in dependent name-lookup
- References: <bug-24795-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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 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