std::exception::~exception(3)

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

πŸ’… 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