Deleting an object
from a heap
To delete an object from any heap, use the delete
operator in the usual way; it automatically finds the object regardless of the heap it's on, calls the object's destructor, and frees the heap space it occupies.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker