From -1984703624348611702
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8366734ec6aad121
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-06-14 13:26:12 PST
Newsgroups: comp.std.c++
Path: nntp.gmd.de!Germany.EU.net!EU.net!uunet!majipoor.cygnus.com!news!jason
From: jason@cygnus.com (Jason Merrill)
Subject: Re: new foo[0]
In-Reply-To: schuenem@Informatik.TU-Muenchen.DE's message of 14 Jun 1994 10:22:50 GMT
Content-Type: text/plain; charset=US-ASCII
Message-ID: <JASON.94Jun14130713@deneb.cygnus.com>
Sender: news@cygnus.com
Nntp-Posting-Host: deneb.cygnus.com
Organization: Cygnus Support, Mountain View, CA
References: <CquD6C.LEK@lehman.com> <1994Jun6.152021.20287@cs.wm.edu>
	<JASON.94Jun6201445@deneb.cygnus.com>
	<2tk0dq$6ej@hpsystem1.informatik.tu-muenchen.de>
Mime-Version: 1.0
Date: Tue, 14 Jun 1994 20:07:13 GMT
Lines: 11

>>>>> Ulf Schuenemann <schuenem@Informatik.TU-Muenchen.DE> writes:

> To implement the delete[]-operator new[] must store information about
> size of the array somewhere (Is there a way to do without it?).

As I said in my previous article, this is not true for all arrays, only
arrays of objects that have either destructors or an operator delete []
which wants to know the size of the block of memory.

Jason



