[Bug c++/64445] virtual functions polymorphism
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 14:40:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64445
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
int xx = 0;
anExt.Y(xx); // calls Y(float) since Y(int) is hidden by ext::Y(float)
aBaseP->Y(xx); // calls Y(int) since int is a direct match inside base.
More information about the Gcc-bugs
mailing list