tmp/tmpospgxd6q/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
#### `time_point_cast` <a id="time.point.cast">[[time.point.cast]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class ToDuration, class Clock, class Duration>
|
| 5 |
-
time_point<Clock, ToDuration>
|
|
|
|
| 6 |
```
|
| 7 |
|
| 8 |
*Remarks:* This function shall not participate in overload resolution
|
| 9 |
unless `ToDuration` is an instantiation of `duration`.
|
| 10 |
|
|
|
|
| 1 |
#### `time_point_cast` <a id="time.point.cast">[[time.point.cast]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class ToDuration, class Clock, class Duration>
|
| 5 |
+
constexpr time_point<Clock, ToDuration>
|
| 6 |
+
time_point_cast(const time_point<Clock, Duration>& t);
|
| 7 |
```
|
| 8 |
|
| 9 |
*Remarks:* This function shall not participate in overload resolution
|
| 10 |
unless `ToDuration` is an instantiation of `duration`.
|
| 11 |
|