tmp/tmpnjbz7av9/{from.md → to.md}
RENAMED
|
@@ -13,11 +13,11 @@ constexpr year_month_day(const year_month_day_last& ymdl) noexcept;
|
|
| 13 |
|
| 14 |
*Effects:* Initializes `y_` with `ymdl.year()`, `m_` with
|
| 15 |
`ymdl.month()`, and `d_` with `ymdl.day()`.
|
| 16 |
|
| 17 |
[*Note 1*: This conversion from `year_month_day_last` to
|
| 18 |
-
`year_month_day`
|
| 19 |
`year_month_day_last` to a `sys_days`, and then converting that
|
| 20 |
`sys_days` to a `year_month_day`. — *end note*]
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
constexpr year_month_day(const sys_days& dp) noexcept;
|
|
|
|
| 13 |
|
| 14 |
*Effects:* Initializes `y_` with `ymdl.year()`, `m_` with
|
| 15 |
`ymdl.month()`, and `d_` with `ymdl.day()`.
|
| 16 |
|
| 17 |
[*Note 1*: This conversion from `year_month_day_last` to
|
| 18 |
+
`year_month_day` can be more efficient than converting a
|
| 19 |
`year_month_day_last` to a `sys_days`, and then converting that
|
| 20 |
`sys_days` to a `year_month_day`. — *end note*]
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
constexpr year_month_day(const sys_days& dp) noexcept;
|