std::chrono::operator==(std::chrono::month_weekday)
< cpp | chrono | month weekday
constexpr bool operator==(const std::chrono::month_weekday& x, const std::chrono::month_weekday& y) noexcept; |
(C++20 起) | |
比较二个 month_weekday
对象 x
与 y
。
返回值
x.month() == y.month() && x.weekday_indexed() == y.weekday_indexed() 。