From 2151180761727362302
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ccfd547ab8587b55
X-Google-Attributes: gidf78e5,public
From: sbnaran@fermi.ceg.uiuc.edu (Siemel Naran)
Subject: Re: delete[] and NULL
Date: 1998/09/17
Message-ID: <slrn6vqptr.hsh.sbnaran@fermi.ceg.uiuc.edu>#1/1
X-Deja-AN: 391885643
X-NNTP-Posting-Host: fermi.ceg.uiuc.edu
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <m3pvcypuo9.fsf@skywalker.grs.de>
Organization: University of Illinois at Urbana-Champaign
Reply-To: sbnaran@KILL.uiuc.edu
Newsgroups: comp.std.c++
Originator: clamage@taumet


On 14 Sep 1998 16:13:59 GMT, Boris Schaefer <sbo@psy.med.uni-muenchen.de>
 wrote:

>Stroustrup 3rd ed says, that delete p has no effect, if p is 0.  It
>doesn't say anything about delete[]'ing 0, so my question is, what
>does the standard say on delete[] 0?

It has no effect.


--
----------------------------------
Siemel B. Naran (sbnaran@uiuc.edu)
----------------------------------



[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




