std::error_code::default_error_condition_C++中文网

位置:首页 > C++ 参考手册 >错误处理 >std::error_code > std::error_code::default_error_condition

std::error_code::default_error_condition

std::error_condition default_error_condition() const noexcept;

(C++11 起)

返回当前错误值的默认错误条件。

等价于 category().default_error_condition(value()).

参数

(无)

返回值

当前错误值的默认错误条件。