Lecture overview -- Keyboard shortcut: 'u'  Previous page: Multiple inheritance - issues and C++ solutions -- Keyboard shortcut: 'p'  Next page: Replicated base class -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Abstraction Mechanisms, Part 2 - slide 15 : 24

Multiple inheritance: Ambiguities
The scope 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.