From -4817070633949526064
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,db4807a3f0a1e742
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-08-04 07:15:00 PST
Newsgroups: comp.std.c++
Path: bga.com!news.sprintlink.net!sun.cais.com!io.org!winternet.com!mr.net!umn.edu!zip.eecs.umich.edu!newsxfer.itd.umich.edu!uunet!news.cygnus.com!news!jason
From: jason@cygnus.com (Jason Merrill)
Subject: Re: Multiple inheritance and delete
In-Reply-To: olaf@cwi.nl's message of Wed, 3 Aug 1994 11:23:46 GMT
Content-Type: text/plain; charset=US-ASCII
Message-ID: <JASON.94Aug3180534@deneb.cygnus.com>
Sender: news@cygnus.com
Nntp-Posting-Host: deneb.cygnus.com
Organization: Cygnus Support, Mountain View, CA
References: <CtvC3r.5Kv@ucc.su.OZ.AU> <1994Aug02.045000.2253@corona.com>
	<CtyIBt.4E7@cwi.nl>
Mime-Version: 1.0
Date: Thu, 4 Aug 1994 01:05:34 GMT
Lines: 14

>>>>> Olaf Weber <olaf@cwi.nl> writes:

> There are two issues here: (1) should all classes be polymorphic with
> respect to RTTI and destructor calls, and (2) should all member
> functions of a class be virtual.

> With repect to (1): there are ways of implementing this with little
> run-time costs for people who don't use it.

But would doing so be useful?  If people want their classes to be
polymorphic with respect to destructor calls, they should make their
destructors virtual.  That's what virtual is for.

Jason


