tmp/tmpr4pod3_4/{from.md → to.md}
RENAMED
|
@@ -1,20 +1,22 @@
|
|
| 1 |
-
###
|
| 2 |
-
|
| 3 |
-
Objects of class `steady_clock` represent clocks for which values of
|
| 4 |
-
`time_point` never decrease as physical time advances and for which
|
| 5 |
-
values of `time_point` advance at a steady rate relative to real time.
|
| 6 |
-
That is, the clock may not be adjusted.
|
| 7 |
|
| 8 |
``` cpp
|
|
|
|
| 9 |
class steady_clock {
|
| 10 |
public:
|
| 11 |
using rep = unspecified;
|
| 12 |
using period = ratio<unspecified, unspecified{}>;
|
| 13 |
using duration = chrono::duration<rep, period>;
|
| 14 |
using time_point = chrono::time_point<unspecified, duration>;
|
| 15 |
static constexpr bool is_steady = true;
|
| 16 |
|
| 17 |
static time_point now() noexcept;
|
| 18 |
};
|
|
|
|
| 19 |
```
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Class `steady_clock` <a id="time.clock.steady">[[time.clock.steady]]</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
namespace std::chrono {
|
| 5 |
class steady_clock {
|
| 6 |
public:
|
| 7 |
using rep = unspecified;
|
| 8 |
using period = ratio<unspecified, unspecified{}>;
|
| 9 |
using duration = chrono::duration<rep, period>;
|
| 10 |
using time_point = chrono::time_point<unspecified, duration>;
|
| 11 |
static constexpr bool is_steady = true;
|
| 12 |
|
| 13 |
static time_point now() noexcept;
|
| 14 |
};
|
| 15 |
+
}
|
| 16 |
```
|
| 17 |
|
| 18 |
+
Objects of class `steady_clock` represent clocks for which values of
|
| 19 |
+
`time_point` never decrease as physical time advances and for which
|
| 20 |
+
values of `time_point` advance at a steady rate relative to real time.
|
| 21 |
+
That is, the clock may not be adjusted.
|
| 22 |
+
|