From 2022725679089876621
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,afd7c5d805e2c577
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1993-03-23 02:51:02 PST
Newsgroups: comp.std.c++
Path: sparky!uunet!gatech!concert!decwrl!borland.com!eomiya
From: eomiya@borland.com (Elliot Omiya)
Subject: Re: Is delete [] always safe?
Message-ID: <1993Mar23.004604.7290@borland.com>
Originator: eomiya@genghis.borland.com
Sender: news@borland.com (News Admin)
Organization: Borland International, Inc.
References: <1993Mar22.024915.14564@fcom.cc.utah.edu>
Date: Tue, 23 Mar 1993 00:46:04 GMT
Lines: 11

ARM page 65 Section 5.3.4 "Delete"

"The effect of deleting an array with the plain delete syntax is undefined,
as is deleting an individual object with the delete [] syntax."

In other words, no it is not safe.

-- 
-----------------------------------------------------------------------------
Elliot H. Omiya, KC6DAL	    Borland International Inc.		-=<EHO>=-
-----------------------------------------------------------------------------


