std::any::clear

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

If not empty, destroys the contained object.

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept