Namespaces
Variants

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

来自 zh.cppreference.net

 
 
 
 
~unordered_multiset();
(C++11 起)
(C++26 起 constexpr)

销毁 unordered_multiset。调用其元素的析构函数(顺序未指定),并解分配动态分配的存储(如果有)。注意,如果元素是指针,则不会销毁这些指针所指向的对象。

复杂度

线性于 * this 的大小。