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

On 09 Apr 97, Jerry Coffin wrote to Paul Wankadia --
 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.
 JC> Handling this cleanly was one of the original reasons for adding
 JC> exception handling to C++.  There's really virtually no other way to
 JC> handle it cleanly.
So how do I go about doing this?  Something to do with 'throw', right?
BTW, FWIW, I'm using DJGPP...
--- PPoint 2.00
---------------
* Origin: Junyer's Workshop (3:640/772.3)

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™.