class Foo { public: virtual void Bar() = 0; virtual ~Foo() = 0; };