std::any::reset

From cppreference.com
< cpp‎ | utility‎ | any
 
 
 
std::any
Member functions
Modifiers
any::reset
Observers
Non-member functions
 
void reset() noexcept;
(since C++17)

If not empty, destroys the contained object.

Parameters

(none)

Return value

(none)