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.
Creates an error_code together with the error_category object that characterizes future errors.
inline error_code make_error_code(
future_errc Errno
) _NOEXCEPT;
Parameters
- Errno
A future_errc value that identifies the reported error.
Return Value
error_code(static_cast<int>(Errno), future_category());
Requirements
Header: future
Namespace: std