This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20307] template resolution is wrong when accessed with namespace prefix
- 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: 3 Mar 2005 22:54:59 -0000
- Subject: [Bug c++/20307] template resolution is wrong when accessed with namespace prefix
- References: <20050303211431.20307.vasilche@ncbi.nlm.nih.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-03 22:54 -------
Nope, qualified names bind right away, see PR 11828.
And from the standard:
>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)
*** This bug has been marked as a duplicate of 11828 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20307