std::chrono::month_weekday:: month_weekday
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
month_weekday::month_weekday
|
||||
| Nonmember functions | ||||
| Helper classes | ||||
|
constexpr
month_weekday
(
const
std::
chrono
::
month
&
m,
const std:: chrono :: weekday_indexed & wdi ) noexcept ; |
(C++20 起) | |
构造一个存储
month
m
和
weekday_indexed
wdi
的
month_weekday
对象。
注释
构造
month_weekday
的更便捷方式是使用
operator
/
,例如
std::
chrono
::
April
/
std::
chrono
::
Sunday
[
2
]
。
参见
|
(C++20)
|
格里高利历日期创建的常规语法
(函数) |