tmp/tmpmjli9l_l/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
## Class template `time_point` <a id="time.point">[[time.point]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std::chrono {
|
| 5 |
template<class Clock, class Duration = typename Clock::duration>
|
| 6 |
class time_point {
|
| 7 |
public:
|
|
@@ -36,14 +38,11 @@ namespace std::chrono {
|
|
| 36 |
static constexpr time_point max() noexcept;
|
| 37 |
};
|
| 38 |
}
|
| 39 |
```
|
| 40 |
|
| 41 |
-
`
|
| 42 |
-
[[time.clock.req]] or be the type `local_t`.
|
| 43 |
-
|
| 44 |
-
If `Duration` is not an instance of `duration`, the program is
|
| 45 |
ill-formed.
|
| 46 |
|
| 47 |
### Constructors <a id="time.point.cons">[[time.point.cons]]</a>
|
| 48 |
|
| 49 |
``` cpp
|
|
|
|
| 1 |
## Class template `time_point` <a id="time.point">[[time.point]]</a>
|
| 2 |
|
| 3 |
+
### General <a id="time.point.general">[[time.point.general]]</a>
|
| 4 |
+
|
| 5 |
``` cpp
|
| 6 |
namespace std::chrono {
|
| 7 |
template<class Clock, class Duration = typename Clock::duration>
|
| 8 |
class time_point {
|
| 9 |
public:
|
|
|
|
| 38 |
static constexpr time_point max() noexcept;
|
| 39 |
};
|
| 40 |
}
|
| 41 |
```
|
| 42 |
|
| 43 |
+
If `Duration` is not a specialization of `duration`, the program is
|
|
|
|
|
|
|
|
|
|
| 44 |
ill-formed.
|
| 45 |
|
| 46 |
### Constructors <a id="time.point.cons">[[time.point.cons]]</a>
|
| 47 |
|
| 48 |
``` cpp
|