std::stack::~stack
De cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
~stack(); | ||
Destructs the container adaptor. Los destructores de los elementos son llamados y el almacenamiento utilizado se cancela la asignación. Tenga en cuenta que si los elementos son punteros, los objetos apuntados a no se destruyen .
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.
You can help to correct and verify the translation. Click here for instructions.
[editar]Complejidad
Linear in the size of the container adaptor.