std::error_code::category

出自cppreference.com
< cpp‎ | error‎ | error code
 
 
 
 
 
const std::error_category& category() const noexcept;
(C++11 起)

返回錯誤碼的錯誤類別。

[編輯] 參數

(無)

[編輯] 返回值

錯誤碼的錯誤類別。

[編輯] 參閱

獲得 error_code 的值
(公開成員函數) [編輯]