tmp/tmphqikljub/{from.md → to.md}
RENAMED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
##### Type `ios_base::fmtflags` <a id="ios::fmtflags">[[ios::fmtflags]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
using fmtflags = T1;
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
The type `fmtflags` is a bitmask type ([[bitmask.types]]). Setting its
|
| 8 |
-
elements has the effects indicated in
|
| 9 |
-
Table [[tab:iostreams.fmtflags.effects]].
|
| 10 |
-
|
| 11 |
-
**Table: `fmtflags` effects** <a id="tab:iostreams.fmtflags.effects">[tab:iostreams.fmtflags.effects]</a>
|
| 12 |
-
|
| 13 |
-
| Element | Effect(s) if set |
|
| 14 |
-
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
|
| 15 |
-
| `boolalpha` | insert and extract `bool` type in alphabetic format |
|
| 16 |
-
| `dec` | converts integer input or generates integer output in decimal base |
|
| 17 |
-
| `fixed` | generate floating-point output in fixed-point notation |
|
| 18 |
-
| `hex` | converts integer input or generates integer output in hexadecimal base |
|
| 19 |
-
| `internal` | adds fill characters at a designated internal point in certain generated output, or identical to `right` if no such point is designated |
|
| 20 |
-
| `left` | adds fill characters on the right (final positions) of certain generated output |
|
| 21 |
-
| `oct` | converts integer input or generates integer output in octal base |
|
| 22 |
-
| `right` | adds fill characters on the left (initial positions) of certain generated output |
|
| 23 |
-
| `scientific` | generates floating-point output in scientific notation |
|
| 24 |
-
| `showbase` | generates a prefix indicating the numeric base of generated integer output |
|
| 25 |
-
| `showpoint` | generates a decimal-point character unconditionally in generated floating-point output |
|
| 26 |
-
| `showpos` | generates a `+` sign in non-negative generated numeric output |
|
| 27 |
-
| `skipws` | skips leading whitespace before certain input operations |
|
| 28 |
-
| `unitbuf` | flushes output after each output operation |
|
| 29 |
-
| `uppercase` | replaces certain lowercase letters with their uppercase equivalents in generated output |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
Type `fmtflags` also defines the constants indicated in
|
| 33 |
-
Table [[tab:iostreams.fmtflags.constants]].
|
| 34 |
-
|
| 35 |
-
**Table: `fmtflags` constants** <a id="tab:iostreams.fmtflags.constants">[tab:iostreams.fmtflags.constants]</a>
|
| 36 |
-
|
| 37 |
-
| Constant | Allowable values |
|
| 38 |
-
| ------------- | ------------------------- |
|
| 39 |
-
| `adjustfield` | `left | right | internal` |
|
| 40 |
-
| `basefield` | `dec | oct | hex` |
|
| 41 |
-
| `floatfield` | `scientific | fixed` |
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|