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

 > 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.
Overload the new operator. If the object is created, return a pointer to it,
else return NULL.
- Kev
--- FMail/386 1.02
---------------
* Origin: Mail shipped from Deimos Spaceport (2:259/17)

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