public member function
<unordered_set>

std::unordered_set::~unordered_set

~unordered_set();
Destroy unordered set
Destructs the container object. This calls each of the contained element's destructors, and dealocates all the storage capacity allocated by the unordered_set container.

Complexity

Linear on unordered_set::size (destructors).

Iterator validity

All iterators, pointers and references are invalidated.