Dear Nick, I guess you can not make destructor 'pure' virtual because you can not avoid calling it if you ever destroy the object. Unlike other functions, base class destructor is called whenever base class object is destructed. Derived class destructor does not override base class one. It is executed after derived class destructor. Please change your declaration as follows. virtual ~A() { } Thank you Masaharu Goto > >Dear roottalk, > >I am getting rather confused trying to use multiple inheritance with an abstract >base class. I can illustrate two problems I am having with two simple classe s A >(abstract) and C (concrete). > >A.h:- > >class A { >public: > virtual ~A() =0; > ClassDef(A,0) >}; >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET