std::any::~any (3) - Linux Manuals

std::any::~any: std::any::~any

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


      destroys contained object
reset (public member function)