std::any::reset

< cpp‎ | utility‎ | any
void reset() noexcept;
(since C++17)

If not empty, destroys the contained object.

Parameters

(none)

Return value

(none)

See also

checks if object holds a value
(public member function)