title: Multiple inheritance in C++: What is the good way to express the diagram in C++ with multiple inheritance?
body: <p>What is the good way to express the diagram in C++ with multiple inheritance? Or do I need to use multiple inheritance in this case? Can't I just create a Child1 and a Child2 instance in the base class and use them?</p>
  
  <p><img src="https://i.stack.imgur.com/B47zV.jpg" alt="enter image description here"></p>