tmp/tmpqj6we13f/{from.md → to.md}
RENAMED
|
@@ -1,44 +1,44 @@
|
|
| 1 |
#### `time_point` comparisons <a id="time.point.comparisons">[[time.point.comparisons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class Clock, class Duration1, class Duration2>
|
| 5 |
-
bool operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* `lhs.time_since_epoch() == rhs.time_since_epoch()`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
template <class Clock, class Duration1, class Duration2>
|
| 12 |
-
bool operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 13 |
```
|
| 14 |
|
| 15 |
*Returns:* `!(lhs == rhs)`.
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
template <class Clock, class Duration1, class Duration2>
|
| 19 |
-
bool operator<(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* `lhs.time_since_epoch() < rhs.time_since_epoch()`.
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
template <class Clock, class Duration1, class Duration2>
|
| 26 |
-
bool operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 27 |
```
|
| 28 |
|
| 29 |
*Returns:* `!(rhs < lhs)`.
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
template <class Clock, class Duration1, class Duration2>
|
| 33 |
-
bool operator>(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 34 |
```
|
| 35 |
|
| 36 |
*Returns:* `rhs < lhs`.
|
| 37 |
|
| 38 |
``` cpp
|
| 39 |
template <class Clock, class Duration1, class Duration2>
|
| 40 |
-
bool operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 41 |
```
|
| 42 |
|
| 43 |
*Returns:* `!(lhs < rhs)`.
|
| 44 |
|
|
|
|
| 1 |
#### `time_point` comparisons <a id="time.point.comparisons">[[time.point.comparisons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class Clock, class Duration1, class Duration2>
|
| 5 |
+
constexpr bool operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* `lhs.time_since_epoch() == rhs.time_since_epoch()`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
template <class Clock, class Duration1, class Duration2>
|
| 12 |
+
constexpr bool operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 13 |
```
|
| 14 |
|
| 15 |
*Returns:* `!(lhs == rhs)`.
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
template <class Clock, class Duration1, class Duration2>
|
| 19 |
+
constexpr bool operator<(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 20 |
```
|
| 21 |
|
| 22 |
*Returns:* `lhs.time_since_epoch() < rhs.time_since_epoch()`.
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
template <class Clock, class Duration1, class Duration2>
|
| 26 |
+
constexpr bool operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 27 |
```
|
| 28 |
|
| 29 |
*Returns:* `!(rhs < lhs)`.
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
template <class Clock, class Duration1, class Duration2>
|
| 33 |
+
constexpr bool operator>(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 34 |
```
|
| 35 |
|
| 36 |
*Returns:* `rhs < lhs`.
|
| 37 |
|
| 38 |
``` cpp
|
| 39 |
template <class Clock, class Duration1, class Duration2>
|
| 40 |
+
constexpr bool operator>=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
|
| 41 |
```
|
| 42 |
|
| 43 |
*Returns:* `!(lhs < rhs)`.
|
| 44 |
|