tmp/tmpfgoqht1i/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
| 4 |
dateorder do_date_order() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* An enumeration value indicating the preferred order of
|
| 8 |
components for those date formats that are composed of day, month, and
|
| 9 |
-
year.[^
|
| 10 |
contains other variable components (e.g., Julian day, week number, week
|
| 11 |
day).
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
iter_type do_get_time(iter_type s, iter_type end, ios_base& str,
|
|
@@ -95,24 +95,24 @@ any remaining format characters, corresponding to a conversion directive
|
|
| 95 |
appropriate for the ISO/IEC 9945 function `strptime`, formed by
|
| 96 |
concatenating `’%’`, the `modifier` character, when non-NUL, and the
|
| 97 |
`format` character. When the concatenation fails to yield a complete
|
| 98 |
valid directive the function leaves the object pointed to by `t`
|
| 99 |
unchanged and evaluates `err |= ios_base::failbit`. When `s == end`
|
| 100 |
-
evaluates to true after reading a character the function evaluates
|
| 101 |
`err |= ios_base::eofbit`.
|
| 102 |
|
| 103 |
For complex conversion directives such as `%c`, `%x`, or `%X`, or
|
| 104 |
directives that involve the optional modifiers `E` or `O`, when the
|
| 105 |
function is unable to unambiguously determine some or all `struct tm`
|
| 106 |
members from the input sequence \[`s`, `end`), it evaluates
|
| 107 |
`err |= ios_base::eofbit`. In such cases the values of those `struct tm`
|
| 108 |
members are unspecified and may be outside their valid range.
|
| 109 |
|
| 110 |
-
It is unspecified whether multiple calls to `do_get()` with
|
| 111 |
-
of the same `struct tm` object will update the current
|
| 112 |
-
object or simply overwrite its members. Portable
|
| 113 |
-
the object before invoking the function.
|
| 114 |
|
| 115 |
*Returns:* An iterator pointing immediately beyond the last character
|
| 116 |
recognized as possibly part of a valid input sequence for the given
|
| 117 |
`format` and `modifier`.
|
| 118 |
|
|
|
|
| 4 |
dateorder do_date_order() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* An enumeration value indicating the preferred order of
|
| 8 |
components for those date formats that are composed of day, month, and
|
| 9 |
+
year.[^16] Returns `no_order` if the date format specified by `’x’`
|
| 10 |
contains other variable components (e.g., Julian day, week number, week
|
| 11 |
day).
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
iter_type do_get_time(iter_type s, iter_type end, ios_base& str,
|
|
|
|
| 95 |
appropriate for the ISO/IEC 9945 function `strptime`, formed by
|
| 96 |
concatenating `’%’`, the `modifier` character, when non-NUL, and the
|
| 97 |
`format` character. When the concatenation fails to yield a complete
|
| 98 |
valid directive the function leaves the object pointed to by `t`
|
| 99 |
unchanged and evaluates `err |= ios_base::failbit`. When `s == end`
|
| 100 |
+
evaluates to `true` after reading a character the function evaluates
|
| 101 |
`err |= ios_base::eofbit`.
|
| 102 |
|
| 103 |
For complex conversion directives such as `%c`, `%x`, or `%X`, or
|
| 104 |
directives that involve the optional modifiers `E` or `O`, when the
|
| 105 |
function is unable to unambiguously determine some or all `struct tm`
|
| 106 |
members from the input sequence \[`s`, `end`), it evaluates
|
| 107 |
`err |= ios_base::eofbit`. In such cases the values of those `struct tm`
|
| 108 |
members are unspecified and may be outside their valid range.
|
| 109 |
|
| 110 |
+
*Remarks:* It is unspecified whether multiple calls to `do_get()` with
|
| 111 |
+
the address of the same `struct tm` object will update the current
|
| 112 |
+
contents of the object or simply overwrite its members. Portable
|
| 113 |
+
programs must zero out the object before invoking the function.
|
| 114 |
|
| 115 |
*Returns:* An iterator pointing immediately beyond the last character
|
| 116 |
recognized as possibly part of a valid input sequence for the given
|
| 117 |
`format` and `modifier`.
|
| 118 |
|