This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11828] [3.4/3.5 regression] qualified dependent name looked up too early
- 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: 10 May 2004 19:55:34 -0000
- Subject: [Bug c++/11828] [3.4/3.5 regression] qualified dependent name looked up too early
- References: <20030806091852.11828.benko@sztaki.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-10 19:55 -------
>From [temp.dep.candidate]:
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 usual lookup rules (3.4.1, 3.4.2)
except that:
I think this is more relevent than any other part.
I think the unqualified-id part tells that the function name has to be unqualified.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4 regression] qualified |[3.4/3.5 regression]
|dependent name looked up too|qualified dependent name
|early |looked up too early
Target Milestone|3.4.0 |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11828