命名空间
变体
操作

std::error_code::category

来自 cppreference.cn
< cpp‎ | 错误‎ | 错误码
 
 
 
 
 
const std::error_category& category() const noexcept;
(C++11 起)

返回错误码的错误类别。

[编辑] 参数

(无)

[编辑] 返回值

错误码的错误类别。

[编辑] 参阅

获取 error_code 的值
(public member function) [编辑]