Namespaces
Variants
Views
Actions

std::any::~any

From cppreference.com
< cpp‎ | utility‎ | any
 
 
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]