Skip to content
UPEEC

Multiple Inheritance

A class deriving from several bases.

Advanced
Comments 0

Useful for interfaces (mixins). The "diamond problem" (two paths to one base) is solved with virtual inheritance — keep hierarchies simple.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.