std::priori...ority_queue(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so welcome to the std::priori...ority_queue(3) page from the C++ Standard Libary, bestie ✨

std::priority_queue::~priority_queue β€” that's the destructor, and yes the name shows up again as std::priority_queue::~priority_queue. iconic, tbh πŸ’…

πŸ¦‹ Synopsis πŸ¦‹

~priority_queue();

This destructs the priority_queue 🫢. The destructors of the elements are called, and the used storage is deallocated. Important note, fr fr: if the elements are pointers, the pointed-to objects are not destroyed. πŸ˜­πŸ’€

🌸 Complexity 🌸

Linear in the size of the priority_queue β€” no cap, that's the whole vibe check.


cute sign-off: source/version http://cppreference.com, date 2024.06.10, manual std::priori...ority_queue(3) πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from