TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: PAUL WANKADIA
date: 1997-04-18 20:26:00
subject: self-destruct

On 11 Apr 97, Kevin Campbell wrote to Paul Wankadia --
 > I'm wondering how to, from an object's constructor, to self-destruct.
 > E.g. if there is some kind of error, the object will NOT be created.
 KC> Overload the new operator.
Oh crikey ...
 KC> If the object is created, return a pointer to it, else return NULL.
... but a good idea, IMO.  Just tell me how to DO that ...
--- 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™.