◐ Shell
clean mode source ↗

std::error_code::operator bool – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

explicit operator bool() const;

(seit C++11)

Prüft, ob der Fehler Wert gültig ist, dh nicht-Null .

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.

Parameter

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

false wenn value() == 0, true sonst .

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.

Ausnahmen