为什么C ++在覆盖的虚方法参数中不支持矛盾?
class base {
virtual void func(ParamDerived* ptr) { return; }
};
class derived : public base {
// Shouldn't that be a valid override !?
virtual void func(ParamBase* ptr) override { return; }
};