Warning: overloaded virtual function “Base::process” is only partially overridden in class “derived”
问题 I am getting below warning . part of my code is : class Base { public: virtual void process(int x) {;}; virtual void process(int a,float b) {;}; protected: int pd; float pb; }; class derived: public Base{ public: void process(int a,float b); } void derived::process(int a,float b){ pd=a; pb=b; .... } I am getting below warning : Warning: overloaded virtual function "Base::process" is only partially overridden in class "derived" any way i have made process as virtual function so I am expecting