std::any::reset

From cppreference.com
< cpp‎ | utility‎ | any
void reset();
(since C++17)

If not empty, destroys the contained object.

Parameters

(none)

Return value

(none)

Exceptions

noexcept specification:  
noexcept