Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uakari.primate.wisc.edu!ames!pasteur!helios.ee.lbl.gov!ucsd!ucsdhub!hp-sdd!hplabsy!hpl-opus!hpnmdla!hpmwtd!jeffa From: jeffa@hpmwtd.HP.COM (Jeff Aguilera) Newsgroups: comp.lang.c++ Subject: Re: virtual destructors Message-ID: <1520017@hpmwjaa.HP.COM> Date: 22 Jan 90 16:18:48 GMT References: <45.UUL1.3#5109@pantor.UUCP> Organization: HP Microwave Tech. - Santa Rosa, Ca. Lines: 13 > We have a problem which seems to require virtual destructors. > Is such a thing valid in C++? Certainly. Didn't you even try class X { //... public: virtual ~X(); }; It won't (oops, it shouldn't, but probably will :-) break your compiler.