tmp/tmphzjfjx4_/{from.md → to.md}
RENAMED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
##### Type `ios_base::iostate` <a id="ios::iostate">[[ios::iostate]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
using iostate = T2;
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
The type `iostate` is a bitmask type ([[bitmask.types]]) that contains
|
| 8 |
-
the elements indicated in Table [[tab:iostreams.iostate.effects]].
|
| 9 |
-
|
| 10 |
-
**Table: `iostate` effects** <a id="tab:iostreams.iostate.effects">[tab:iostreams.iostate.effects]</a>
|
| 11 |
-
|
| 12 |
-
| Element | Effect(s) if set |
|
| 13 |
-
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| 14 |
-
| `badbit` | indicates a loss of integrity in an input or output sequence (such as an irrecoverable read error from a file); |
|
| 15 |
-
| `eofbit` | indicates that an input operation reached the end of an input sequence; |
|
| 16 |
-
| `failbit` | indicates that an input operation failed to read the expected characters, or that an output operation failed to generate the desired characters. |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
Type `iostate` also defines the constant:
|
| 20 |
-
|
| 21 |
-
- `goodbit`, the value zero.
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|