Share via


make_error_code 函式

建立與 ShapeElement 未來 錯誤之 error_category 物件的 error_code

inline error_code make_error_code(
   future_errc Errno
) _NOEXCEPT;

參數

傳回值

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

需求

標題: 未來

命名空間: 可以

請參閱

參考

<future>

其他資源

標頭檔