Combining overloading with inheritence

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Wed Mar 31 23:54:00 GMT 1999


> Is this a compiler bug or do I understand C++ rules wrong?

The latter. The method in the derived class shadows the one in the
base class. There are several solutions, please ask in a C++ group, or
read a good book on C++.

Regards,
Martin



More information about the Gcc-bugs mailing list