Namespaces
Variants

std::error_condition::operator bool

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

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

参数

(无)

返回值

当 value ! = 0 时返回 true ,否则返回 false 。