vector::~vector


public member function
~vector ( );

Vector destructor

Destructs the container object. This calls each of the contained element's destructors, and deallocates all the storage capacity allocated by the vector.

Complexity

Linear on vector::size (destructors).