tmp/tmppcmj1yv9/{from.md → to.md}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
### Clock requirements <a id="time.clock.req">[[time.clock.req]]</a>
|
| 2 |
|
| 3 |
A clock is a bundle consisting of a `duration`, a `time_point`, and a
|
| 4 |
-
function `now()` to get the current time_point. The origin of the
|
| 5 |
clock’s `time_point` is referred to as the clock’s *epoch*. A clock
|
| 6 |
shall meet the requirements in Table [[tab:time.clock]].
|
| 7 |
|
| 8 |
In Table [[tab:time.clock]] `C1` and `C2` denote clock types. `t1` and
|
| 9 |
`t2` are values returned by `C1::now()` where the call returning `t1`
|
|
@@ -28,8 +28,8 @@ A type `TC` meets the `TrivialClock` requirements if:
|
|
| 28 |
this means, in particular, that operations on these types will not
|
| 29 |
throw exceptions.
|
| 30 |
- lvalues of the types `TC::rep`, `TC::duration`, and `TC::time_point`
|
| 31 |
are swappable ([[swappable.requirements]]),
|
| 32 |
- the function `TC::now()` does not throw exceptions, and
|
| 33 |
-
- the type `TC::time_point::clock` meets the TrivialClock
|
| 34 |
-
recursively.
|
| 35 |
|
|
|
|
| 1 |
### Clock requirements <a id="time.clock.req">[[time.clock.req]]</a>
|
| 2 |
|
| 3 |
A clock is a bundle consisting of a `duration`, a `time_point`, and a
|
| 4 |
+
function `now()` to get the current `time_point`. The origin of the
|
| 5 |
clock’s `time_point` is referred to as the clock’s *epoch*. A clock
|
| 6 |
shall meet the requirements in Table [[tab:time.clock]].
|
| 7 |
|
| 8 |
In Table [[tab:time.clock]] `C1` and `C2` denote clock types. `t1` and
|
| 9 |
`t2` are values returned by `C1::now()` where the call returning `t1`
|
|
|
|
| 28 |
this means, in particular, that operations on these types will not
|
| 29 |
throw exceptions.
|
| 30 |
- lvalues of the types `TC::rep`, `TC::duration`, and `TC::time_point`
|
| 31 |
are swappable ([[swappable.requirements]]),
|
| 32 |
- the function `TC::now()` does not throw exceptions, and
|
| 33 |
+
- the type `TC::time_point::clock` meets the `TrivialClock`
|
| 34 |
+
requirements, recursively.
|
| 35 |
|