std::any::~any(3)

NAME
std::any::~any - std::any::~any

Synopsis
   ~any(); (since C++17)
   Destroys the contained object, if any, as if by a call to reset().

See also
   reset destroys contained object
         (public member function)