std::experimental::any:: ~any

From cppreference.com
~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)