TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: THOMAS MAEDER
from: KURT KUZBA
date: 1997-04-20 05:27:00
subject: self-destruct

TM> KC>   Overload the new operator. If the object is created,
TM> KC>   return a pointe else return NULL.
TM>   Don't!
TM>   The  new  operator's  responsibility  is  to  allocate
TM>   memory; that's enough, don't abuse it for other things.
tm>....
   Doesn't new already return NULL, or 0, on failure?
It does in VC++ 4.0.
Borland supplies a new_handler() function, but advises the
overloading of new also.
> ] Only two things left to worry about... Living, and Dieing...
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)

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