名前空間
変種
操作

std::error_code::operator bool

提供: cppreference.com
< cpp‎ | error‎ | error code

 
 
 
 
std::error_code
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::operator bool
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
explicit operator bool() const;
(C++11およびそれ以降)
エラー値が有効であるかどうかをチェックし、すなわち非ゼロ.
Original:
Checks if the error value is valid, i.e. non-zero.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

(なし)

[編集] 値を返します

falsevalue() == 0場合、trueその他のとき.
Original:
false if value() == 0, true otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept 指定:  
noexcept