std::exception::~exception(3)
π NAME π
std::exception::~exception β okay so this is literally the destructor for std::exception, and yes, that's the whole name, she's not beating the "same name twice" allegations β¨
You're in the C++ Standard Library part of the manual rn (the header literally says C++ Standard Libary and we are not fixing it, we respect the typo, we cherish the typo π) and this page is the std::exception::~exception(3) entry, bestie π
β¨ Synopsis β¨
virtual ~exception();
That's it. That's the whole vibe. She's virtual, she's a destructor, she takes zero arguments, she returns nothing, she simply exists π¦
πΈ What she actually does πΈ
Destroys the exception object π«Ά
Like β gone, bestie. The object is demolished, that's her one job, and she ate π No cap, this destructor is the definition of "I have one task and I will complete it."
Ngl this is the shortest manpage I've ever read and I'm kind of obsessed?? She said "here's a destructor, here's what it does, bye" and honestly? Iconic π
Signing off from the group chat π this page came from cppreference.com, dated 2024.06.10, and it was the little std::exception::~exception(3) page that could β mwah, take care of yourselves, drink water, and don't leak your memory π
π¦ 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