Przejdź do głównej zawartości

std::unordered_multiset destructors

~unordered_multiset();

Destructs the unordered_multiset.

The destructors of the elements are called and the used storage is deallocated.

zanotuj

If the elements are pointers, the pointed-to objects are not destroyed.

Complexity

Linear in size of the container - O(size()).

This article originates from this CppReference page. It was likely altered for improvements or editors' preference. Click "Edit this page" to see all changes made to this document.
Hover to see the original license.

std::unordered_multiset destructors

~unordered_multiset();

Destructs the unordered_multiset.

The destructors of the elements are called and the used storage is deallocated.

zanotuj

If the elements are pointers, the pointed-to objects are not destroyed.

Complexity

Linear in size of the container - O(size()).

This article originates from this CppReference page. It was likely altered for improvements or editors' preference. Click "Edit this page" to see all changes made to this document.
Hover to see the original license.