[Bug c++/23982] gcc tries to call global function instead of base template's method

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 20 16:43:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list