Top "Multiple-inheritance" questions

A feature of some object-oriented computer programming languages in which a class can inherit behaviors and features from more than one superclass or base class.

Virtual tables and virtual pointers for multiple virtual inheritance and type casting

I am little confused about vptr and representation of objects in the memory, and hope you can help me understand …

c++ multiple-inheritance vtable virtual-inheritance vptr
PHP trait method conflicts: trait "inheritance" and trait hierarchies

UPDATE: I am not alone in my pondering on this issue and it seems it is indeed a bug. See …

php class multiple-inheritance traits
Python multiple inheritance function overriding and ListView in django

I created a class that subclasses ListView and two custom mixins which have implemented a get_context_data function. I …

python django listview multiple-inheritance django-generic-views
Are multiple-inherited constructors called multiple times?

Are multiple-inherited constructors called multiple times? And in what order are constructors called? Does this depend on the order in …

c++ inheritance constructor multiple-inheritance
How does multiple inheritance work with the super() and different __init__() arguments?

I'm just diving into some more advanced python subjects (well, advanced to me at least). I am now reading about …

python class constructor multiple-inheritance super
Multiple inheritance and pure virtual functions

The following code: struct interface_base { virtual void foo() = 0; }; struct interface : public interface_base { virtual void bar() = 0; }; struct implementation_base : …

c++ virtual multiple-inheritance diamond-problem
Should C# have multiple inheritance?

I have come across numerous arguments against the inclusion of multiple inheritance in C#, some of which include (philosophical arguments …

c# inheritance multiple-inheritance
Memory layout of a class under multiple or virtual inheritance and the vtable(s)?

I am reading "Inside the C++ Object Model", trying to understand how multiple and virtual inheritance is achieved via the …

c++ inheritance polymorphism multiple-inheritance virtual-inheritance
Python ABC Multiple Inheritance

I think the code will explain the problem better than I can do with words. Here is the code in …

python python-2.7 multiple-inheritance metaclass urwid
Double inheritance of enable_shared_from_this

I have an object (Z) which derives from two other objects (A and B). A and B both derive from …

c++ shared-ptr multiple-inheritance enable-shared-from-this