Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Assigns an error code value and category to an error code.
void assign(value_type _Val, const error_category& _Cat);
Parameters
Parameter |
Description |
---|---|
_Val |
The error code value to store in the error_code. |
_Cat |
The error category to store in the error_code. |
Remarks
The member function stores _Val as the error code value and a pointer to _Cat.
Requirements
Header: <system_error>
Namespace: std