TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: PAUL WANKADIA
from: JERRY COFFIN
date: 1997-04-09 22:51:00
subject: self-destruct

On (07 Apr 97) Paul Wankadia wrote to All...
 PW> I'm wondering how to, from an object's constructor, to self-destruct. 
 PW> E.g. if there is some kind of error, the object will NOT be created.
Handling this cleanly was one of the original reasons for adding
exception handling to C++.  There's really virtually no other way to
handle it cleanly.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.