std::unorde...ordered_map(3)
πΈ NAME πΈ
std::unordered_map::~unordered_map - std::unordered_map::~unordered_map β that's the whole name, bestie, no notes. It's the destructor page from the C++ Standard Libary manual, page std::unorde...ordered_map(3). (yes, "Libary" with one r β iconic, we keep it π) It's giving "I clean up after everyone" main character energy, honestly. π
π Synopsis π
~unordered_map(); (since C++11)
Since C++11, so it's not new new, but it's still iconic. β¨
π Complexity π
Linear in the size of the unordered_map β so it scales with how many elements you've got in there. No cap, no shortcuts, periodt. π₯
So what does it do? It destructs the unordered_map. The destructors of the elements are called, and the used storage is deallocated. But bestie, hear me: Note, that if the elements are pointers, the pointed-to objects are not destroyed. They're not touched. They're living their best life elsewhere. ππ
source/version: http://cppreference.com β’ date: 2024.06.10 β’ page: std::unorde...ordered_map(3) β that's the whole tea, bestie, slay πβ¨
π¦ 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