The class hierarchies that I have described in the previous chapter have all been strictly tree-structured. I.e., for every class there exists at most one superclass, and every class inherits properties from at most one direct superclass. In this chapter I will describe how to generalize the framework in such a way that multiple inheritance is accounted for.
First I will describe a simple simulation approach to multiple inheritance.
Based on an analysis of the simple approach, I proceed in
section and
with a technique,
which is based on the object precedence list representation,
as introduced in section
.
The chapter is concluded with a description of how to simulate
so-called method combination.