C++ String Library - destructor


Advertisements

Description

It destroys the string object and this deallocates all the storage capacity allocated by the string using its allocator.

Declaration

Following is the declaration for std::string::~string.

~string();;

Parameters

none

Return Value

none

Exceptions

Never throw any exceptiions.

string.htm
Advertisements