Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!munnari!otc!mikem From: mikem@otc.otca.oz (Mike Mowbray) Newsgroups: comp.lang.c++ Subject: Re: fixing pitfall in virtual members Message-ID: <638@otc.otca.oz> Date: 26 Feb 89 03:39:48 GMT References: Distribution: comp Organization: OTC Development Unit, Australia Lines: 14 ** Ron Guilmette suggested that the trouble could be avoided by having the base class version of the virtual function do something like abort(). ** Webster Dove supported this, indicating that this was his standard advice when writing a base class. If the inheritance depth were greater than 1, this scheme wouldn't make sense. Mike Mowbray ACSnet: mikem@otc.oz Network R&D UUCP: {uunet,mcvax}!otc.oz!mikem |||| OTC || Phone: (02) 287-4104 Snail: GPO Box 7000, Sydney, Australia