std::any::~any

From cppreference.com
< cpplrm; | utilitylrm; | any
std::any
Member functions
any::~any
Modifers
Observers
Non-member functions
~any();
(since C++17)

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

See also

destroys contained object
(public member function)