example in question:
1- in the example above, how is ambiguity resolvedCode:class Base1 { public: void func(); }; class Base2 { public: void func(); }; class Derived : public Base1, public Base2 { };
2- what if one or more of them were virtual
3- what other evils might multiple inheritance cause that I haven't thought of?



LinkBack URL
About LinkBacks


