(C++) multiple inheritance

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) multiple inheritance

 

Multiple inheritance is a type of inheritance in which is inherited from at least two classes.

 

 

 

 

 

Examples

 

 

 

 

 

 

Advice

 

 

 

 

 

 

References

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 21.4. Advice. page 640: '[8] Use ordinary multiple inheritance to express a union of features'
  2. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 21.4. Advice. page 640: '[9] Use multiple inheritance to seperate implementation from interface'