std::deque::~deque(3)

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

πŸ’… std::deque::~deque(3) πŸ’…

okay so this page is from the C++ Standard Libary manual, bestie β€” and we're keeping that manual name exactly as it appears. 🫢


🌸 NAME 🌸

std::deque::~deque β€” literally std::deque::~deque, no notes. πŸ’–


✨ Synopsis ✨

~deque();

Destructs the deque. The destructors of the elements are called and the used storage is deallocated. πŸŽ€

Note: if the elements are pointers, the pointed-to objects are not destroyed. πŸ’€ important, bestie β€” the pointers go bye-bye, but the things they point at do not get taken out with them.

πŸ’« Complexity πŸ’«

Linear in the size of the deque. periodt. πŸ”₯


mwah πŸ’‹ β€” source/version/date vibes: http://cppreference.com, 2024.06.10, std::deque::~deque(3). πŸ¦‹

πŸ“¦ where this page comes from