std::ios_base::iostate
From Cppreference
| typedef /*implementation defined*/ iostate;
|
||
| static constexpr iostate goodbit = 0;
|
||
| static constexpr iostate badbit = /*implementation defined*/
static constexpr iostate failbit = /*implementation defined*/ |
||
Specifies stream state flags. It is a bitmask type, the following constants are defined:
| Constant | Explanation |
| goodbit | no error |
| badbit | irrecoverable stream error |
| failbit | input/output operation failed (formatting or extraction error) |
| eofbit | associated input sequence has reached end-of-file |
[edit] Example
| This section is incomplete |