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