From -4029522871830045827
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ccfd547ab8587b55
X-Google-Attributes: gidf78e5,public
From: AllanW@my-dejanews.com
Subject: Re: delete[] and NULL
Date: 1998/09/17
Message-ID: <6tk1jv$sal$1@nnrp1.dejanews.com>#1/1
X-Deja-AN: 391885641
X-NNTP-Posting-Host: 199.125.171.8
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <m3pvcypuo9.fsf@skywalker.grs.de>
X-Snookums: I love you
X-Http-User-Agent: Mozilla/4.06 [en] (Win95; U)
X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 199.125.171.8
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Mon Sep 14 21:25:19 1998 GMT
Newsgroups: comp.std.c++
Originator: clamage@taumet


In article <m3pvcypuo9.fsf@skywalker.grs.de>,
  Boris Schaefer <sbo@psy.med.uni-muenchen.de> wrote:
>
> Hi,
> 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?

On every implementation I've used so far, delete[] 0 has had no effect.
I always assumed that this was standard; IMO it should be.

--
AllanW@my-dejanews.com is a "Spam Magnet" -- never read.
Please reply in USENET only, sorry.

-----=3D=3D Posted via Deja News, The Leader in Internet Discussion =3D=3D=
-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



[ 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              ]




