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
I think the solution you're using may be the way to go, sorry to say. The only thing I can think of that might help is if you're able to make A's func1 pure virtual. That might not be feasible in your real program, though.