std::experimental::any::~any

From cppreference.com
< cpp‎ | experimental‎ | any
~any();
(library fundamentals TS)

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

See also

destroys contained object
(public member function)