SysTutorials

Linux Manual Pages › Section 3

stdanyany(3)

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

      destroys contained object reset (public member function)