From 4306899005522036422
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8366734ec6aad121
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-06-15 14:19:08 PST
Newsgroups: comp.std.c++
Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news2.near.net!bloom-beacon.mit.edu!cambridge-news.cygnus.com!majipoor.cygnus.com!news!jason
From: jason@cygnus.com (Jason Merrill)
Subject: Re: new foo[0]
In-Reply-To: maxtal@physics.su.OZ.AU's message of Wed, 15 Jun 1994 11:12:50 GMT
Content-Type: text/plain; charset=US-ASCII
Message-ID: <JASON.94Jun15132317@deneb.cygnus.com>
Sender: news@cygnus.com
Nntp-Posting-Host: deneb.cygnus.com
Organization: Cygnus Support, Mountain View, CA
References: <JASON.94Jun6201445@deneb.cygnus.com>
	<2tk0dq$6ej@hpsystem1.informatik.tu-muenchen.de>
	<JASON.94Jun14130713@deneb.cygnus.com> <CrFr5F.3I9@ucc.su.OZ.AU>
Mime-Version: 1.0
Date: Wed, 15 Jun 1994 20:23:17 GMT
Lines: 11

>>>>> John Max Skaller <maxtal@physics.su.OZ.AU> writes:

> 	All class types have destructors, if not user written then compiler
> generated. In both cases the destructor may be 'trivial', that is, be
> optimisable to nothing.

I disagree.  If a class has a base or member with a destructor, the
compiler will generate one; otherwise, it won't.  There is a lot of text in
[class.dtor] which talks about classes with or without destructors.

Jason


