std::map::~map(3)
π NAME π
okay so this is the std::map::~map(3) page from the C++ Standard Libary manual, and it's literally all about the destructor, bestie β¨. The name line is std::map::~map - std::map::~map β iconic minimalism, no notes π
.
β¨ Synopsis β¨
~map();
This destructor destructs the map. The destructors of the elements are called, and the used storage is deallocated. Periodt π.
β οΈ important caveat, bestie: Note, that if the elements are pointers, the pointed-to objects are not destroyed. The map is not out here cleaning up whatever those pointers point at β no cap π.
π₯ Complexity π₯
Linear in the size of the map. That's the whole vibe check: linear, bestie πΈ.
that's the whole page, mwah π β source: http://cppreference.com, version/date: 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