From -2642224054328851769
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,176c9dc06a6729eb
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-04-03 07:28:05 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: ArchonTreborus@netscape.net (Robb)
Newsgroups: comp.std.c++
Subject: Re: why doesn't delete NULL the pointer?
Date: Wed,  3 Apr 2002 15:26:52 GMT
Organization: http://groups.google.com/
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <6ee7d287.0204022127.1ae65bbc@posting.google.com>
References: <a7j7vg$78s$1@watserv3.uwaterloo.ca>
X-Trace: mail2news.demon.co.uk 1017847621 mail2news:10634 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Date: 3 Apr 2002 05:27:00 GMT
Lines: 19
Xref: archiver1.google.com comp.std.c++:10377

p2sam@uwaterloo.ca (Pedro Sam) wrote in message news:<a7j7vg$78s$1@watserv3.uwaterloo.ca>...
> Hi all,
> 
> I'm curious about the delete operator and NULL pointers.  Why doesn't
> the standard require that the delete operator to set the pointer's value
> to NULL?  

See what Bjarne Stroustrup say about this in one of his FAQ's:
    http://www.research.att.com/~bs/bs_faq2.html#delete-zero


--Robb

---
[ 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://www.research.att.com/~austern/csc/faq.html                ]



