Table of Contents Previous topic Next topic
C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->Destructors
Destroys the string object releasing the heap memory used for storage of the string data.
Called implicitly for automatic strings that go out of scope, for temporary strings at the end of the context for which they been created and for global strings at program termination.
Is called implicitly when the delete operator used to destroy a string created with the new operator.