[Bug c++/54909] gcc does not recognize member function template when identical named pure virtual method exists

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 12 14:26:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54909

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-12 14:25:44 UTC ---
This is nothing to do with pure virtual functions, it's just the usual name
hiding rule.

You need to add "using A::foo;" to B to make the name visible.



More information about the Gcc-bugs mailing list