tmp/tmpcmhf6tsl/{from.md → to.md}
RENAMED
|
@@ -43,18 +43,20 @@ call to `do_put`; thus, format elements and other characters are
|
|
| 43 |
interleaved in the output in the order in which they appear in the
|
| 44 |
pattern. Format sequences are identified by converting each character
|
| 45 |
`c` to a `char` value as if by `ct.narrow(c, 0)`, where `ct` is a
|
| 46 |
reference to `ctype<charT>` obtained from `str.getloc()`. The first
|
| 47 |
character of each sequence is equal to `’%’`, followed by an optional
|
| 48 |
-
modifier character `mod`[^17]
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
| 51 |
`do_put(s, str, fill, t, spec, mod)`.
|
| 52 |
|
| 53 |
The second form calls `do_put(s, str, fill, t, format, modifier)`.
|
| 54 |
|
| 55 |
-
[*Note 1*: The `fill` argument
|
| 56 |
implementation-defined formats or by derivations. A space character is a
|
| 57 |
reasonable default for this argument. — *end note*]
|
| 58 |
|
| 59 |
*Returns:* An iterator pointing immediately after the last character
|
| 60 |
produced.
|
|
@@ -68,16 +70,24 @@ iter_type do_put(iter_type s, ios_base&, char_type fill, const tm* t,
|
|
| 68 |
|
| 69 |
*Effects:* Formats the contents of the parameter `t` into characters
|
| 70 |
placed on the output sequence `s`. Formatting is controlled by the
|
| 71 |
parameters `format` and `modifier`, interpreted identically as the
|
| 72 |
format specifiers in the string argument to the standard library
|
| 73 |
-
function `strftime()`
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
*Returns:* An iterator pointing immediately after the last character
|
| 78 |
produced.
|
| 79 |
|
| 80 |
-
[*Note
|
| 81 |
implementation-defined formats or by derivations. A space character is a
|
| 82 |
reasonable default for this argument. — *end note*]
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
interleaved in the output in the order in which they appear in the
|
| 44 |
pattern. Format sequences are identified by converting each character
|
| 45 |
`c` to a `char` value as if by `ct.narrow(c, 0)`, where `ct` is a
|
| 46 |
reference to `ctype<charT>` obtained from `str.getloc()`. The first
|
| 47 |
character of each sequence is equal to `’%’`, followed by an optional
|
| 48 |
+
modifier character `mod`[^17]
|
| 49 |
+
|
| 50 |
+
and a format specifier character `spec` as defined for the function
|
| 51 |
+
`strftime`. If no modifier character is present, `mod` is zero. For each
|
| 52 |
+
valid format sequence identified, calls
|
| 53 |
`do_put(s, str, fill, t, spec, mod)`.
|
| 54 |
|
| 55 |
The second form calls `do_put(s, str, fill, t, format, modifier)`.
|
| 56 |
|
| 57 |
+
[*Note 1*: The `fill` argument can be used in the
|
| 58 |
implementation-defined formats or by derivations. A space character is a
|
| 59 |
reasonable default for this argument. — *end note*]
|
| 60 |
|
| 61 |
*Returns:* An iterator pointing immediately after the last character
|
| 62 |
produced.
|
|
|
|
| 70 |
|
| 71 |
*Effects:* Formats the contents of the parameter `t` into characters
|
| 72 |
placed on the output sequence `s`. Formatting is controlled by the
|
| 73 |
parameters `format` and `modifier`, interpreted identically as the
|
| 74 |
format specifiers in the string argument to the standard library
|
| 75 |
+
function `strftime()`, except that the sequence of characters produced
|
| 76 |
+
for those specifiers that are described as depending on the C locale are
|
| 77 |
+
instead *implementation-defined*.
|
| 78 |
+
|
| 79 |
+
[*Note 2*: Interpretation of the `modifier` argument is
|
| 80 |
+
implementation-defined. — *end note*]
|
| 81 |
|
| 82 |
*Returns:* An iterator pointing immediately after the last character
|
| 83 |
produced.
|
| 84 |
|
| 85 |
+
[*Note 3*: The `fill` argument can be used in the
|
| 86 |
implementation-defined formats or by derivations. A space character is a
|
| 87 |
reasonable default for this argument. — *end note*]
|
| 88 |
|
| 89 |
+
*Recommended practice:* Interpretation of the `modifier` should follow
|
| 90 |
+
POSIX conventions. Implementations should refer to other standards such
|
| 91 |
+
as POSIX for a specification of the character sequences produced for
|
| 92 |
+
those specifiers described as depending on the C locale.
|
| 93 |
+
|