Namespaces
Variants
Views
Actions

std::any::~any

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