命名空间
变体
操作

std::error_condition::operator bool

来自 cppreference.cn
 
 
 
 
 
explicit operator bool() const noexcept;
(自 C++11 起)

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

[编辑] 参数

(无)

[编辑] 返回值

true 如果 value != 0,否则 false