+ 1
How to handle the error due to ambiguity in multiple inheritance in c++ in c++ programming language
2 odpowiedzi
+ 4
If you are referring to the Diamond problem then use virtual inheritance.
class Base{...
class A: virtual public Base{....
class B: virtual public Base {....
class Derived : public A,public B{....
+ 2
Use virtual base classes