public member function
<map>

std::multimap::~multimap

~multimap();
Multimap destructor
Destroys the container object.

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

复杂度

Linear in multimap::size (destructors).

迭代器有效性

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

数据竞争

The container and all its elements are modified.

异常安全

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