This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23982] gcc tries to call global function instead of base template's method
- 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: 20 Sep 2005 16:43:29 -0000
- Subject: [Bug c++/23982] gcc tries to call global function instead of base template's method
- References: <20050920163805.23982.mmarek@suse.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 16:43 -------
Yes the behavior in 4.1.0 is the correct behavior as defined by the C++ standard and its Defect reports.
This is a dup of bug 5660 which was fixed for 4.1.0.
>PS: Sorry if this isn't a bug, I'm not that experienced in C++...
The namelookup rules for templates are harder than normal namelookup.
*** This bug has been marked as a duplicate of 5660 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23982