Compartir a través de


error_condition::assign

Assigns an error code value and category to an error condition.

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

See Also

Reference

error_condition Class