Scroll to navigation

std::any::reset(3) C++ Standard Libary std::any::reset(3)

NAME

std::any::reset - std::any::reset

Synopsis


void reset() noexcept; (since C++17)


If not empty, destroys the contained object.

Parameters


(none)

Return value


(none)

See also


has_value checks if object holds a value
(public member function)

2022.07.31 http://cppreference.com