Javatpoint Logo
Javatpoint Logo

C++ ~multiset destructor

multiset:: ~ multiset is used to destroy all the elements of multiset container and deallocates all the storage memory allocated by the multiset container.

Syntax

Parameter

None

Return value

None

Complexity

Linear in multiset::size (destructors).

Iterator validity

All iterators, references and pointers are invalidated.

Data Races

The container multiset and all its elements are modified.

Exception Safety

Destructor never throws exceptions.

Next TopicC++ multiset





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA