tmp/tmpzk2poy78/{from.md → to.md}
RENAMED
|
@@ -107,11 +107,11 @@ constexpr year operator+() const noexcept;
|
|
| 107 |
```
|
| 108 |
|
| 109 |
*Returns:* `*this`.
|
| 110 |
|
| 111 |
``` cpp
|
| 112 |
-
constexpr year
|
| 113 |
```
|
| 114 |
|
| 115 |
*Returns:* `year{-y_}`.
|
| 116 |
|
| 117 |
``` cpp
|
|
@@ -160,11 +160,11 @@ constexpr strong_ordering operator<=>(const year& x, const year& y) noexcept;
|
|
| 160 |
|
| 161 |
``` cpp
|
| 162 |
constexpr year operator+(const year& x, const years& y) noexcept;
|
| 163 |
```
|
| 164 |
|
| 165 |
-
*Returns:* `year{int{x} + y.count()}`.
|
| 166 |
|
| 167 |
``` cpp
|
| 168 |
constexpr year operator+(const years& x, const year& y) noexcept;
|
| 169 |
```
|
| 170 |
|
|
|
|
| 107 |
```
|
| 108 |
|
| 109 |
*Returns:* `*this`.
|
| 110 |
|
| 111 |
``` cpp
|
| 112 |
+
constexpr year operator-() const noexcept;
|
| 113 |
```
|
| 114 |
|
| 115 |
*Returns:* `year{-y_}`.
|
| 116 |
|
| 117 |
``` cpp
|
|
|
|
| 160 |
|
| 161 |
``` cpp
|
| 162 |
constexpr year operator+(const year& x, const years& y) noexcept;
|
| 163 |
```
|
| 164 |
|
| 165 |
+
*Returns:* `year{int{x} + static_cast<int>(y.count())}`.
|
| 166 |
|
| 167 |
``` cpp
|
| 168 |
constexpr year operator+(const years& x, const year& y) noexcept;
|
| 169 |
```
|
| 170 |
|