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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-13 
17:33:16 UTC ---
(In reply to comment #1)
> The base class has a pure virtual function with this signature:
> 
> void blub(const int* const&) const

Oops, sorry, that should be:

void blub(int* const&) const

This is a reference to const pointer to int.


> The derived class has a virtual function with this signature:
> 
> void blub(const int*&) const
> 
> They're not the same.

This is a reference to pointer to const int.

Not the same thing.

Reply via email to