W3cubDocs

/C++

std::any::reset

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

If not empty, destroys the contained object.

Parameters

(none).

Return value

(none).

Exceptions

noexcept specification:
noexcept

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/utility/any/reset