public member function

std::error_code::clear

<system_error>
void clear() noexcept;
Clear error code
Clears the value in the error_code object so that it is set to a value of 0 of the system_category (generally indicating no error).

Parameters

none

Return value

none

See also