This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54909] gcc does not recognize member function template when identical named pure virtual method exists
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Oct 2012 14:25:44 +0000
- Subject: [Bug c++/54909] gcc does not recognize member function template when identical named pure virtual method exists
- Auto-submitted: auto-generated
- References: <bug-54909-4@http.gcc.gnu.org/bugzilla/>
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.