tmp/tmpwwtd2mo3/{from.md → to.md}
RENAMED
|
@@ -47,11 +47,11 @@ where *`units-suffix`* depends on the type `Period::type` as follows:
|
|
| 47 |
`"d"`.
|
| 48 |
- Otherwise, if `Period::type::den == 1`, *`units-suffix`* is
|
| 49 |
`"[`*`num`*`]s"`.
|
| 50 |
- Otherwise, *`units-suffix`* is `"[`*`num`*`/`*`den`*`]s"`.
|
| 51 |
|
| 52 |
-
In the list above, the use of *`num`* and *`den`*
|
| 53 |
data members of `Period::type`, which are converted to arrays of `charT`
|
| 54 |
using a decimal conversion with no leading zeroes.
|
| 55 |
|
| 56 |
*Returns:* `os`.
|
| 57 |
|
|
@@ -64,15 +64,14 @@ template<class charT, class traits, class Rep, class Period, class Alloc = alloc
|
|
| 64 |
minutes* offset = nullptr);
|
| 65 |
```
|
| 66 |
|
| 67 |
*Effects:* Attempts to parse the input stream `is` into the duration `d`
|
| 68 |
using the format flags given in the NTCTS `fmt` as specified in
|
| 69 |
-
[[time.parse]]. If the parse
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
`offset` is non-null.
|
| 76 |
|
| 77 |
*Returns:* `is`.
|
| 78 |
|
|
|
|
| 47 |
`"d"`.
|
| 48 |
- Otherwise, if `Period::type::den == 1`, *`units-suffix`* is
|
| 49 |
`"[`*`num`*`]s"`.
|
| 50 |
- Otherwise, *`units-suffix`* is `"[`*`num`*`/`*`den`*`]s"`.
|
| 51 |
|
| 52 |
+
In the list above, the use of *`num`* and *`den`* refers to the static
|
| 53 |
data members of `Period::type`, which are converted to arrays of `charT`
|
| 54 |
using a decimal conversion with no leading zeroes.
|
| 55 |
|
| 56 |
*Returns:* `os`.
|
| 57 |
|
|
|
|
| 64 |
minutes* offset = nullptr);
|
| 65 |
```
|
| 66 |
|
| 67 |
*Effects:* Attempts to parse the input stream `is` into the duration `d`
|
| 68 |
using the format flags given in the NTCTS `fmt` as specified in
|
| 69 |
+
[[time.parse]]. If the parse fails to decode a valid duration,
|
| 70 |
+
`is.setstate(ios_base::failbit)` is called and `d` is not modified. If
|
| 71 |
+
`%Z` is used and successfully parsed, that value will be assigned to
|
| 72 |
+
`*abbrev` if `abbrev` is non-null. If `%z` (or a modified variant) is
|
| 73 |
+
used and successfully parsed, that value will be assigned to `*offset`
|
| 74 |
+
if `offset` is non-null.
|
|
|
|
| 75 |
|
| 76 |
*Returns:* `is`.
|
| 77 |
|