◐ Shell
clean mode source ↗

std::unordered_map::~unordered_map – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

~unordered_map();

(seit C++11)

Die Destructs the container. Destruktoren der Elemente genannt werden und die Speicherung genutzt wird freigegeben. Man beachte, dass, wenn die Elemente Zeiger sind, sind die spitzen-Objekte nicht zerstört .

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.

Komplexität

Linear in the size of the container.