Category : non-virtual-interface

I used to write code like this: class SomeInterface { public: virtual void doThings() = 0; virtual void run() = 0; }; class OtherInterface { public: virtual void doStuff() = 0; virtual void run() = 0; }; class ConcreteClass : public SomeInterface, public OtherInterface { public: virtual void doThings() { … } virtual void doStuff() ..

Read more