std::error_condition::
operator bool
explicit
operator
bool
(
)
const
noexcept
;
(C++11 起)
检查存储的错误码是否非零。
参数
(无)
返回值
若
value
!
=
0
则为
true
,否则为
false
。
版本历史
(当前 | 先前)
2017年6月8日 (四) 07:54
Fruderica
(
讨论
|
贡献
)
. .
(350字节)
(+350)
. .
(以“{{cpp/error/error_condition/title | operator bool}} {{cpp/error/error_condition/navbar}} {{dcl begin}} {{dcl | since=c++11 | explicit operator bool() const noexcept;...”为内容创建页面)