tmp/tmpeje9k987/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Members <a id="time.clock.system.members">[[time.clock.system.members]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
using system_clock::rep = unspecified;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Constraints:*
|
| 8 |
+
`system_clock::duration::min() < system_clock::duration::zero()` is
|
| 9 |
+
`true`.
|
| 10 |
+
|
| 11 |
+
[*Note 1*: This implies that `rep` is a signed type. — *end note*]
|
| 12 |
+
|
| 13 |
+
``` cpp
|
| 14 |
+
static time_t to_time_t(const time_point& t) noexcept;
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
*Returns:* A `time_t` object that represents the same point in time as
|
| 18 |
+
`t` when both values are restricted to the coarser of the precisions of
|
| 19 |
+
`time_t` and `time_point`. It is *implementation-defined* whether values
|
| 20 |
+
are rounded or truncated to the required precision.
|
| 21 |
+
|
| 22 |
+
``` cpp
|
| 23 |
+
static time_point from_time_t(time_t t) noexcept;
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
*Returns:* A `time_point` object that represents the same point in time
|
| 27 |
+
as `t` when both values are restricted to the coarser of the precisions
|
| 28 |
+
of `time_t` and `time_point`. It is *implementation-defined* whether
|
| 29 |
+
values are rounded or truncated to the required precision.
|
| 30 |
+
|