Partager via


make_error_code

Creates an error code object.

error_code make_error_code(generic_errno _Errno);

Parameters

Parameter

Description

_Errno

The enumeration value to store in the error code object.

Return Value

The error code object.

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

<system_error>