tmp/tmpveqn2jr1/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Non-member functions <a id="time.cal.ymwdlast.nonmembers">[[time.cal.ymwdlast.nonmembers]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr bool operator==(const year_month_weekday_last& x,
|
| 5 |
+
const year_month_weekday_last& y) noexcept;
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Returns:*
|
| 9 |
+
|
| 10 |
+
``` cpp
|
| 11 |
+
x.year() == y.year() && x.month() == y.month() && x.weekday_last() == y.weekday_last()
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
``` cpp
|
| 15 |
+
constexpr year_month_weekday_last
|
| 16 |
+
operator+(const year_month_weekday_last& ymwdl, const months& dm) noexcept;
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
*Constraints:* If the argument supplied by the caller for the `months`
|
| 20 |
+
parameter is convertible to `years`, its implicit conversion sequence to
|
| 21 |
+
`years` is worse than its implicit conversion sequence to `months`
|
| 22 |
+
[[over.ics.rank]].
|
| 23 |
+
|
| 24 |
+
*Returns:* `(ymwdl.year() / ymwdl.month() + dm) / ymwdl.weekday_last()`.
|
| 25 |
+
|
| 26 |
+
``` cpp
|
| 27 |
+
constexpr year_month_weekday_last
|
| 28 |
+
operator+(const months& dm, const year_month_weekday_last& ymwdl) noexcept;
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
*Constraints:* If the argument supplied by the caller for the `months`
|
| 32 |
+
parameter is convertible to `years`, its implicit conversion sequence to
|
| 33 |
+
`years` is worse than its implicit conversion sequence to `months`
|
| 34 |
+
[[over.ics.rank]].
|
| 35 |
+
|
| 36 |
+
*Returns:* `ymwdl + dm`.
|
| 37 |
+
|
| 38 |
+
``` cpp
|
| 39 |
+
constexpr year_month_weekday_last
|
| 40 |
+
operator-(const year_month_weekday_last& ymwdl, const months& dm) noexcept;
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
*Constraints:* If the argument supplied by the caller for the `months`
|
| 44 |
+
parameter is convertible to `years`, its implicit conversion sequence to
|
| 45 |
+
`years` is worse than its implicit conversion sequence to `months`
|
| 46 |
+
[[over.ics.rank]].
|
| 47 |
+
|
| 48 |
+
*Returns:* `ymwdl + (-dm)`.
|
| 49 |
+
|
| 50 |
+
``` cpp
|
| 51 |
+
constexpr year_month_weekday_last
|
| 52 |
+
operator+(const year_month_weekday_last& ymwdl, const years& dy) noexcept;
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
*Returns:* `{ymwdl.year()+dy, ymwdl.month(), ymwdl.weekday_last()}`.
|
| 56 |
+
|
| 57 |
+
``` cpp
|
| 58 |
+
constexpr year_month_weekday_last
|
| 59 |
+
operator+(const years& dy, const year_month_weekday_last& ymwdl) noexcept;
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
*Returns:* `ymwdl + dy`.
|
| 63 |
+
|
| 64 |
+
``` cpp
|
| 65 |
+
constexpr year_month_weekday_last
|
| 66 |
+
operator-(const year_month_weekday_last& ymwdl, const years& dy) noexcept;
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
*Returns:* `ymwdl + (-dy)`.
|
| 70 |
+
|
| 71 |
+
``` cpp
|
| 72 |
+
template<class charT, class traits>
|
| 73 |
+
basic_ostream<charT, traits>&
|
| 74 |
+
operator<<(basic_ostream<charT, traits>& os, const year_month_weekday_last& ymwdl);
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
*Effects:* Equivalent to:
|
| 78 |
+
|
| 79 |
+
``` cpp
|
| 80 |
+
return os << format(os.getloc(), STATICALLY-WIDEN<charT>("{}/{}/{}"),
|
| 81 |
+
ymwdl.year(), ymwdl.month(), ymwdl.weekday_last());
|
| 82 |
+
```
|
| 83 |
+
|