home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- From: nikki@trmphrst.demon.co.uk (Nikki Locke)
- Path: sparky!uunet!pipex!demon!trmphrst.demon.co.uk!nikki
- ReplyTo: nikki@trmphrst.demon.co.uk
- Subject: Re: can I 'delete' without a 'new'?
- References: <1992Sep5.160932.19698@taumet.com>
- Distribution: world
- X-Mailer: cppnews $Revision: 1.15 $
- Organization: Trumphurst Ltd.
- Lines: 14
- Date: Mon, 7 Sep 1992 18:45:52 +0000
- Message-ID: <715916752snx@trmphrst.demon.co.uk>
- Sender: usenet@gate.demon.co.uk
-
-
- In article <1992Sep5.160932.19698@taumet.com> steve@taumet.com (Steve Clamage) writes:
-
- > It is always harmless to
- > delete a null pointer.
- Except in some previous Zortech C++ versions, where calling delete for a
- pointer to a class with a virtual delete, with a value 0, crashed the
- machine. This is, of course, a bug - but one to look out for.
- ---
- Nikki Locke | | nikki@trmphrst.demon.co.uk
- Trumphurst Ltd. | Tel: +44 (0)691-670318 | nikki@cix.compulink.co.uk
- PC and Unix consultancy | Fax: +44 (0)691-670316 | nikki@kewill.co.uk
- trmphrst.demon.co.uk is NOT affiliated with ANY other sites at demon.co.uk.
- Demon.co.uk is a dial-up subscription access point to the Internet.
-