std::any:: reset
From cppreference.net
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
void
reset
(
)
noexcept
;
|
(since C++17) | |
If * this contains a value, destroys the contained value.
* this does not contain a value after this call.
Contents |
Parameters
(none)
Return value
(none)
Example
Run this code
See also
|
checks if object holds a value
(public member function) |