std::any::reset(3)

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

πŸŽ€ std::any::reset(3) πŸŽ€

okay so this is the std::any::reset page from the C++ Standard Libary manual, and we’re gonna make it make sense bestie. it’s literally the reset member for a std::any, iykyk. πŸ’…


πŸ’– NAME πŸ’–

std::any::reset - std::any::reset


✨ Synopsis ✨

void reset() noexcept;  (since C++17)

if it’s not empty, it destroys the contained object. that’s the whole move, fr fr. πŸ¦‹


🌸 Parameters 🌸

(none) β€” no parameters, not even one. πŸ™ˆ


πŸ¦‹ Return value πŸ¦‹

(none) β€” also no return value. periodt.


🌈 See also 🌈

  • has_value β€” checks if object holds a value (public member function)

source/version: http://cppreference.com, date: 2024.06.10 β€” mwah, bestie, that’s the page πŸ’‹βœ¨

πŸ“¦ where this page comes from