The following code generates warning C4250. My question is, what\'s the best solution to it?
class A { virtual void func1(); } class B : public A { } cla
Did you try to inherit public virtual from class A? I think it should solve it.
class B :public virtual A; class C :public virtual A; class D : public virtual B, public virtual C;
The virtual inheritance suppose to solve the ambiguity.