O'Reilly logo
  • LI WEI thinks this is interesting:

The Donkey and Horse classes, however, both inherit from the base class Mammal. We instantly have an issue! If we were to call mule.talk(), but mule does not override the talk() function, which member function should be invoked, that of Horse or Donkey? It's ambiguous.


Cover of Learning C++ by Creating Games with UE4