tmp/tmpy2f7tyd9/{from.md → to.md}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
#### `time_point` constructors <a id="time.point.cons">[[time.point.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
time_point();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Constructs an object of type `time_point`, initializing `d_`
|
| 8 |
with `duration::zero()`. Such a `time_point` object represents the
|
| 9 |
epoch.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
-
time_point(const duration& d);
|
| 13 |
```
|
| 14 |
|
| 15 |
*Effects:* Constructs an object of type `time_point`, initializing `d_`
|
| 16 |
with `d`. Such a `time_point` object represents the epoch `+ d`.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
template <class Duration2>
|
| 20 |
-
time_point(const time_point<clock, Duration2>& t);
|
| 21 |
```
|
| 22 |
|
| 23 |
*Remarks:* This constructor shall not participate in overload resolution
|
| 24 |
unless `Duration2` is implicitly convertible to `duration`.
|
| 25 |
|
|
|
|
| 1 |
#### `time_point` constructors <a id="time.point.cons">[[time.point.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr time_point();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Constructs an object of type `time_point`, initializing `d_`
|
| 8 |
with `duration::zero()`. Such a `time_point` object represents the
|
| 9 |
epoch.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
+
constexpr explicit time_point(const duration& d);
|
| 13 |
```
|
| 14 |
|
| 15 |
*Effects:* Constructs an object of type `time_point`, initializing `d_`
|
| 16 |
with `d`. Such a `time_point` object represents the epoch `+ d`.
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
template <class Duration2>
|
| 20 |
+
constexpr time_point(const time_point<clock, Duration2>& t);
|
| 21 |
```
|
| 22 |
|
| 23 |
*Remarks:* This constructor shall not participate in overload resolution
|
| 24 |
unless `Duration2` is implicitly convertible to `duration`.
|
| 25 |
|