public member function
<system_error>

std::error_code::clear

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 (indicating no error).

Parameters

none

Return value

none

See also