Help


from Wikipedia
« »  
* C ++ by default follows each inheritance path separately, so a object would actually contain two separate objects, and uses of's members have to be properly qualified.
If the inheritance from to and the inheritance from to are both marked "" ( for example, ""), C ++ takes special care to only create one object, and uses of's members work correctly.
If virtual inheritance and nonvirtual inheritance are mixed, there is a single virtual and a nonvirtual for each nonvirtual inheritance path to.
C ++ requires stating explicitly which parent class the feature to be used is invoked from i. e. " Worker :: Human. Age ".
C ++ does not support explicit repeated inheritance since there would be no way to qualify which superclass to use.
C ++ also allows a single instance of the multiple class to be created via the virtual inheritance mechanism ( i. e. " Worker :: Human " and " Musician :: Human " will reference the same object ).

1.836 seconds.