◐ Shell
clean mode source ↗

std::stack::~stack - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Destructs the container adaptor. Os destruidores dos elementos são chamados e o armazenamento usado é desalocado. Note que, se os elementos são ponteiros, os objetos apontados não são destruídos.

Original:

Destructs the container adaptor. 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.

Complexidade

Linear in the size of the container adaptor.