You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
Suma
Posted - Jul 30 2013 : 08:03:16 AM Functions are often created in derived classes which encapsulate base class functionality. E.g.
class Base { public: virtual void OnEvent(Event a) {} };
class Derived { };
Refactorization could offer to create following function in the derived class:
virtual void OnEvent(Event a) override { return Base::OnEvent(a); }
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Jul 30 2013 : 09:44:53 AM Are you aware of the Implement Interface refactoring command? This is designed to help you with situations like this: