Multiple Inheritance of Classes

Manfred_Nowak svv1999 at hotmail.com
Thu Aug 14 05:00:30 PDT 2008


superdan wrote:

> and you also have to allow for holes in objects

Then it isn't fixed layout alone, but also avoiding slices of unused 
memory within objects. If you advocate for this under the reason, that 
this scheme allows for efficient access for members by sparing one 
indirection, then: why do you accept interfaces?

Given that the layout of objects is fixed and without unused slices, 
interfaces must be able to adapt to the layouts of many different 
object types. This cannot be done without a mapping known at runtime 
and therefore has to stay with the object, which in turn would enable 
MI.

-manfred


-- 
Maybe some knowledge of some types of disagreeing and their relation 
can turn out to be useful:
http://blog.createdebate.com/2008/04/07/writing-strong-arguments/



More information about the Digitalmars-d mailing list