1234567891011121314151617181920
class Abstract { public: virtual void doSomething(void) = 0; }; class Derived : public Abstract { public: virtual void doSomething(void) { } // <-- Should have named it "doNothing" }; int main() { Derived instance; return 0; }