Share via


error_code::clear

Clears the error code value and category.

clear();

Remarks

The member function stores a zero error code value and a pointer to the generic_category object.

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

error_category Class

error_code Class