[Bug c++/52978] Inherit from Template with specified type and override virtual function

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 13 17:31:00 GMT 2012


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

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-04-13 17:30:51 UTC ---
The base class has a pure virtual function with this signature:

void blub(const int* const&) const

The derived class has a virtual function with this signature:

void blub(const int*&) const

They're not the same.



More information about the Gcc-bugs mailing list