다음을 통해 공유


make_error_condition Function

Creates an error_condition together with the error_category object that characterizes future errors.

inline error_condition make_error_condition(
   future_errc Errno
) _NOEXCEPT;

Parameters

  • Errno
    A future_errc value that identifies the reported error.

Return Value

error_condition(static_cast<int>(Errno), future_category());

Requirements

Header: future

Namespace: std

See Also

Reference

<future>

Other Resources

C++ Standard Library Header Files