Difference between revisions of "cpp/container/unordered map/~unordered map"
From cppreference.com
< cpp | container | unordered map
(Created page with "{{cpp/container/destructor|unordered_map}}") |
m (langlinks) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{cpp/container/destructor|unordered_map}} | + | {{include page|cpp/container/destructor|unordered_map}} |
+ | |||
+ | {{langlinks|de|es|fr|it|ja|pt|ru|zh}} |
Latest revision as of 08:07, 4 December 2021
~unordered_map(); |
(since C++11) | |
A destructor.
Destructs the unordered_map
. 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.
[edit] Complexity
Linear in the size of the unordered_map
.