std::any::~any(3)

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

🌸 std::any::~any(3) β€” main character destructor 🌸

okay so bestie, welcome to the C++ Standard Libary manual. We are literally on the page for std::any::~any, and she is a destructor. slay.

πŸ’… NAME πŸ’…

std::any::~any β€” std::any::~any. That's the name, no cap. It's giving β€œI destroy things and I'm iconic.”

✨ Synopsis ✨

~any();  (since C++17)

She's been here since C++17, and her whole job is this: destroys the contained object, if any, as if by a call to reset(). periodt.

πŸŽ€ See also πŸŽ€

  • reset β€” destroys contained object (public member function). bestie teammate behavior fr fr.

xoxo, sourced from http://cppreference.com, version/date 2024.06.10, page std::any::~any(3) πŸ’–βœ¨

πŸ“¦ where this page comes from