public member function
<set>

std::multiset::~multiset

~multiset();
Multiset destructor
Destroys the container object.

This destroys all container elements, and deallocates all the storage capacity allocated by the multiset container using its allocator.
This calls allocator_traits::destroy on each of the contained elements, and deallocates all the storage capacity allocated by the multiset container using its allocator.

复杂度

Linear in multiset::size (destructors).

迭代器有效性

所有迭代器、指针和引用都将失效。

数据竞争

The container and all its elements are modified.

异常安全

无异常保证: 绝不抛出异常。