◐ Shell
clean mode source ↗

std::vector::~vector — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Destructs the container. Les destructeurs des éléments sont appelés et le stockage utilisé est libérée. Notez que si les éléments sont des pointeurs, les objets pointés ne sont pas détruits .

Original:

Destructs the container. The destructors of the elements are called and the used storage is deallocated. Note, that if the elements are pointers, the pointed-to objects are not destroyed.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Complexité

Linear in the size of the container.