1 2 3 4 5 6 7 8 9 10 11 12 13
class C1 { public: virtual ~C1() { } }; class C2 : public C1 { C2(void *q); virtual void A(); }; void C2::A() { } C2::C2(void *q) { }