Lecture 5 - Slide 18 : 40
Multiple inheritance: Ambiguities
The scope resolution operator can be used to solve ambiguities in multiple base classes
To see this image you must download and install the SVG plugin from Adobe.In Firefox please consultthis page.
amb-1.cc
Ambiguity - the compiler locates the problem.
amb-2.cc
Ambiguity resolution in the client of C.
amb-3-problems.cc
Involving polomorphism - but there is a problem.
amb-3.cc
Involving polomorphism - problem solved.