TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: THOMAS MAEDER
date: 1997-04-27 19:24:00
subject: self-destruct

KC> That's what I'm talking about. There's no rules that say new() canno
KC> termination function if it fails to allocate the memory. One of the
KC> purposes of overloading new() is to provide virtual mem, which would
KC> disk access for goodness sake!
Ok.
The  original poster asked about a way to prevent an object from being
created based on reasons not related to memory management. Overloading
oeprator new() is the wrong solution for this.
Thomas
---
 þ MM 1.0 #0113 þ A judge is a lawyer who once knew a governor.
---------------
* Origin: McMeier & Son BBS (2:301/138)

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