std::multiset::~multiset(3)
π std::multiset::~multiset(3) π
okay bestie, welcome to the std::multiset destructor page from the C++ Standard Libary manual β yes, thatβs the manual name, typo and all, and we are literally about to get into it. This is the cleanup era for your multiset, periodt. π
πΈ NAME πΈ
std::multiset::~multiset β the destructor for std::multiset. Itβs giving βbye bestie, time to free the storage.β π
β¨ Synopsis β¨
~multiset();
So what does it do? It destructs the multiset. The destructors of the elements are called, and the used storage is deallocated. Slay. π
β οΈ Big note, bestie: if the elements are pointers, the pointed-to objects are not destroyed. The multiset is not out here chasing your pointers and cleaning up their targets, no cap. π
π₯ Complexity π₯
Linear in the size of the multiset. So it scales with how many elements are in there, fr fr. π¦
mwah π β this cutie came from http://cppreference.com, dated 2024.06.10. π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms