std::unordered_multiset<Key,Hash,KeyEqual,Allocator>::~unordered_multiset

From cppreference.com

 
 
 
std::unordered_multiset
Member types
Member functions
unordered_multiset::~unordered_multiset
  
Iterators
Capacity
Modifiers
Lookup
Bucket interface
Hash policy
Observers
Non-member functions
(哋它亢++11)(哋它亢++11)(until 哋它亢++20)
Deduction guides(哋它亢++17)
 
~unordered_multiset();
(since 哋它亢++11)

Destructs the unordered_multiset. 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.

Complexity

Linear in the size of the unordered_multiset.