tmp/tmptiz7f_ro/{from.md → to.md}
RENAMED
|
@@ -155,11 +155,11 @@ function [[namespace.std]].
|
|
| 155 |
ios_base& dec(ios_base& str);
|
| 156 |
```
|
| 157 |
|
| 158 |
*Effects:* Calls `str.setf(ios_base::dec, ios_base::basefield)`.
|
| 159 |
|
| 160 |
-
*Returns:* `str`[^
|
| 161 |
|
| 162 |
``` cpp
|
| 163 |
ios_base& hex(ios_base& str);
|
| 164 |
```
|
| 165 |
|
|
@@ -203,14 +203,13 @@ ios_base& hexfloat(ios_base& str);
|
|
| 203 |
*Effects:* Calls
|
| 204 |
`str.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield)`.
|
| 205 |
|
| 206 |
*Returns:* `str`.
|
| 207 |
|
| 208 |
-
[*Note 1*:
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
`fixed` and `scientific`. — *end note*]
|
| 212 |
|
| 213 |
``` cpp
|
| 214 |
ios_base& defaultfloat(ios_base& str);
|
| 215 |
```
|
| 216 |
|
|
|
|
| 155 |
ios_base& dec(ios_base& str);
|
| 156 |
```
|
| 157 |
|
| 158 |
*Effects:* Calls `str.setf(ios_base::dec, ios_base::basefield)`.
|
| 159 |
|
| 160 |
+
*Returns:* `str`.[^11]
|
| 161 |
|
| 162 |
``` cpp
|
| 163 |
ios_base& hex(ios_base& str);
|
| 164 |
```
|
| 165 |
|
|
|
|
| 203 |
*Effects:* Calls
|
| 204 |
`str.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield)`.
|
| 205 |
|
| 206 |
*Returns:* `str`.
|
| 207 |
|
| 208 |
+
[*Note 1*: `ios_base::hex` cannot be used to specify a hexadecimal
|
| 209 |
+
floating-point format, because it is not part of `ios_base::floatfield`
|
| 210 |
+
([[ios.fmtflags.const]]). — *end note*]
|
|
|
|
| 211 |
|
| 212 |
``` cpp
|
| 213 |
ios_base& defaultfloat(ios_base& str);
|
| 214 |
```
|
| 215 |
|