public member function

set::~set

~set ( );
Set destructor
Destructs the container object. This calls each of the contained element's destructors, and deallocates all the storage capacity allocated by the set.

Complexity

Linear on set::size (destructors).