👩💻 Join our community of thousands of amazing developers!
Suppose you have a class which derives from two base classes, both of which have the same method. struct Base1 { void Something(); bool IsReady(); }; struct Base2 { void Something(); bool IsReady(); }; struct Derived : Base1, Base2 { }; The post Resolving the ambiguity when your C++ class inherits from multiple base classes that have the same method appeared first on The Old New Thing....