std::error_condition::operator bool_C++中文网

C++ 参考手册

位置:首页 > C++ 参考手册 >错误处理 >std::error_condition > std::error_condition::operator bool

检查存储的错误码是否非零。

参数

(无)

返回值

若 value != 0 则为 true ,否则为 false 。