命名空间
变体
操作

std::error_code::category

来自 cppreference.cn
< cpp‎ | error‎ | error code
 
 
 
 
 
const std::error_category& category() const noexcept;
(since C++11)

返回错误码的错误类别。

[编辑] 参数

(无)

[编辑] 返回值

错误码的错误类别。

[编辑] 参见

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