Difference between revisions of "cpp/container/unordered set/~unordered set"
From cppreference.com
< cpp | container | unordered set
m (Shorten template names. Use {{lc}} where appropriate.) |
m (langlinks) |
||
Line 1: | Line 1: | ||
{{include page|cpp/container/destructor|unordered_set}} | {{include page|cpp/container/destructor|unordered_set}} | ||
− | + | {{langlinks|de|es|fr|it|ja|pt|ru|zh}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:08, 12 January 2021
~unordered_set(); |
(since C++11) | |
A destructor.
Destructs the unordered_set
. 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_set
.