Topic: [comp.std.c++] operator delete


Author: Jens Kilian <Jens_Kilian@bbn.hp.com>
Date: 1999/02/01
Raw View
> From: "Hans A. Plast" <mst@Informatik.Uni-Bremen.DE>
[...]
> When i do not call the global delete operator in my overloaded one, is it
> possible to call delete several times?

No. Deallocation happens after destruction, and the destructor would still
be called more than once.

Regards,

 Jens.
--
mailto:jjk@acm.org                 phone:+49-7031-14-7698 (HP TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-14-7351
PGP:       06 04 1C 35 7B DC 1F 26 As the air to a bird, or the sea to a fish,
0x555DA8B5 BB A2 F0 66 77 75 E1 08 so is contempt to the contemptible. [Blake]
---
[ 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              ]