TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTIAN S. PEDERSEN
from: HERBERT BUSHONG
date: 1997-07-10 06:06:00
subject: Deleting a Class.

::> If I "delete" a Class, allocated with "new", will the Class' destructor 
e
::> called ?
short answer: Yes :)
That's the reason for using new and delete with classes; malloc/free won't 
call the ctors/dtors
#  Herbert Bushong    harchon@centuryinter.net       [TEAM OS/2]    
-  Blackbeard's BBS   Intelec: 239:600/0            
+  Fido: 1:19/19      http://www.intelec.com/software/
---
   RM 1.31 2508   Committee:  A group that keeps minutes and wastes hours.
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)

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