tmp/tmpb2hjlnh5/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
| 5 |
ios_base::iostate& err, long& val) const;
|
| 6 |
iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
|
@@ -47,32 +47,32 @@ fmtflags basefield = (flags & ios_base::basefield);
|
|
| 47 |
fmtflags uppercase = (flags & ios_base::uppercase);
|
| 48 |
fmtflags boolalpha = (flags & ios_base::boolalpha);
|
| 49 |
```
|
| 50 |
|
| 51 |
For conversion to an integral type, the function determines the integral
|
| 52 |
-
conversion specifier as indicated in
|
| 53 |
-
|
| 54 |
-
|
| 55 |
|
| 56 |
-
**Table: Integer conversions** <a id="
|
| 57 |
|
| 58 |
| State | `stdio` equivalent |
|
| 59 |
| ------------------------ | ------------------ |
|
| 60 |
| `basefield == oct` | `%o` |
|
| 61 |
| `basefield == hex` | `%X` |
|
| 62 |
| `basefield == 0` | `%i` `signed` integral type | `%d` |
|
| 63 |
| `unsigned` integral type | `%u` |
|
| 64 |
|
| 65 |
|
| 66 |
-
For conversions to a floating type the specifier is `%g`.
|
| 67 |
|
| 68 |
For conversions to `void*` the specifier is `%p`.
|
| 69 |
|
| 70 |
A length modifier is added to the conversion specification, if needed,
|
| 71 |
-
as indicated in
|
| 72 |
|
| 73 |
-
**Table: Length modifier** <a id="
|
| 74 |
|
| 75 |
| Type | Length modifier |
|
| 76 |
| -------------------- | --------------- |
|
| 77 |
| `short` | `h` |
|
| 78 |
| `unsigned short` | `h` |
|
|
|
|
| 1 |
+
##### Virtual functions <a id="facet.num.get.virtuals">[[facet.num.get.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
| 5 |
ios_base::iostate& err, long& val) const;
|
| 6 |
iter_type do_get(iter_type in, iter_type end, ios_base& str,
|
|
|
|
| 47 |
fmtflags uppercase = (flags & ios_base::uppercase);
|
| 48 |
fmtflags boolalpha = (flags & ios_base::boolalpha);
|
| 49 |
```
|
| 50 |
|
| 51 |
For conversion to an integral type, the function determines the integral
|
| 52 |
+
conversion specifier as indicated in [[facet.num.get.int]]. The
|
| 53 |
+
table is ordered. That is, the first line whose condition is true
|
| 54 |
+
applies.
|
| 55 |
|
| 56 |
+
**Table: Integer conversions** <a id="facet.num.get.int">[facet.num.get.int]</a>
|
| 57 |
|
| 58 |
| State | `stdio` equivalent |
|
| 59 |
| ------------------------ | ------------------ |
|
| 60 |
| `basefield == oct` | `%o` |
|
| 61 |
| `basefield == hex` | `%X` |
|
| 62 |
| `basefield == 0` | `%i` `signed` integral type | `%d` |
|
| 63 |
| `unsigned` integral type | `%u` |
|
| 64 |
|
| 65 |
|
| 66 |
+
For conversions to a floating-point type the specifier is `%g`.
|
| 67 |
|
| 68 |
For conversions to `void*` the specifier is `%p`.
|
| 69 |
|
| 70 |
A length modifier is added to the conversion specification, if needed,
|
| 71 |
+
as indicated in [[facet.num.get.length]].
|
| 72 |
|
| 73 |
+
**Table: Length modifier** <a id="facet.num.get.length">[facet.num.get.length]</a>
|
| 74 |
|
| 75 |
| Type | Length modifier |
|
| 76 |
| -------------------- | --------------- |
|
| 77 |
| `short` | `h` |
|
| 78 |
| `unsigned short` | `h` |
|