Namespaces
Variants
Views
Actions

std::any::~any

From cppreference.com
< cpp‎ | utility‎ | any
Revision as of 21:32, 24 October 2023 by Andreas Krug (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
~any();
(since C++17)

Destroys the contained object, if any, as if by a call to reset().

[edit] See also

destroys contained object
(public member function) [edit]