tmp/tmpscv87el9/{from.md → to.md}
RENAMED
|
@@ -1,19 +1,21 @@
|
|
| 1 |
-
###
|
| 2 |
-
|
| 3 |
-
Objects of class `high_resolution_clock` represent clocks with the
|
| 4 |
-
shortest tick period. `high_resolution_clock` may be a synonym for
|
| 5 |
-
`system_clock` or `steady_clock`.
|
| 6 |
|
| 7 |
``` cpp
|
|
|
|
| 8 |
class high_resolution_clock {
|
| 9 |
public:
|
| 10 |
using rep = unspecified;
|
| 11 |
using period = ratio<unspecified, unspecified{}>;
|
| 12 |
using duration = chrono::duration<rep, period>;
|
| 13 |
using time_point = chrono::time_point<unspecified, duration>;
|
| 14 |
static constexpr bool is_steady = unspecified;
|
| 15 |
|
| 16 |
static time_point now() noexcept;
|
| 17 |
};
|
|
|
|
| 18 |
```
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Class `high_resolution_clock` <a id="time.clock.hires">[[time.clock.hires]]</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
namespace std::chrono {
|
| 5 |
class high_resolution_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 = unspecified;
|
| 12 |
|
| 13 |
static time_point now() noexcept;
|
| 14 |
};
|
| 15 |
+
}
|
| 16 |
```
|
| 17 |
|
| 18 |
+
Objects of class `high_resolution_clock` represent clocks with the
|
| 19 |
+
shortest tick period. `high_resolution_clock` may be a synonym for
|
| 20 |
+
`system_clock` or `steady_clock`.
|
| 21 |
+
|