tmp/tmpadu7l6by/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Member functions <a id="time.cal.wdidx.members">[[time.cal.wdidx.members]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr weekday_indexed(const chrono::weekday& wd, unsigned index) noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* Initializes `wd_` with `wd` and `index_` with `index`. The
|
| 8 |
+
values held are unspecified if `!wd.ok()` or `index` is not in the range
|
| 9 |
+
\[`0`, `7`\].
|
| 10 |
+
|
| 11 |
+
``` cpp
|
| 12 |
+
constexpr chrono::weekday weekday() const noexcept;
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
*Returns:* `wd_`.
|
| 16 |
+
|
| 17 |
+
``` cpp
|
| 18 |
+
constexpr unsigned index() const noexcept;
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
*Returns:* `index_`.
|
| 22 |
+
|
| 23 |
+
``` cpp
|
| 24 |
+
constexpr bool ok() const noexcept;
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
*Returns:* `wd_.ok() && 1 <= index_ && index_ <= 5`.
|
| 28 |
+
|