std::auto_ptr::~auto_ptr(3)
π std::auto_ptr::~auto_ptr(3) π
okay bestie, welcome to the std::auto_ptr::~auto_ptr page from the C++ Standard Libary manual β¨ yes, that spelling is exactly what the page says, iykyk.
π NAME π
std::auto_ptr::~auto_ptr β std::auto_ptr::~auto_ptr (the name is giving βI am literally the destructor,β periodt π
)
β¨ Synopsis β¨
~auto_ptr() throw(); (deprecated in C++11)
(removed in C++17)
so this destructor destroys the managed object. thatβs it, thatβs the whole plot. it calls delete get() β no cap, that exact call. π«Ά
heads up bestie: itβs deprecated in C++11 and removed in C++17. the page says so directly, so donβt act surprised when modern C++ side-eyes it π
mwah π β page source: 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