TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTIAN S. PEDERSEN
from: THOMAS MAEDER
date: 1997-07-09 19:34:00
subject: Deleting a Class.

CP> If I "delete" a Class, allocated with "new", will the Class' destruc
CP> called ?
Almost.
You "new" and "delete" class instances (objects), not classes.
But  otherwise, you are right. new will invoke the constructor, delete
the destructor.
Thomas
---
 þ MM 1.0 #0113 þ Press "+" to see another tagline.
---------------
* 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™.