std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::month_weekday)
提供: cppreference.com
< cpp | chrono | month weekday
constexpr bool operator==(const std::chrono::month_weekday& x, const std::chrono::month_weekday& y) noexcept; |
(C++20以上) | |
constexpr bool operator!=(const std::chrono::month_weekday& x, const std::chrono::month_weekday& y) noexcept; |
(C++20以上) | |
2つの month_weekday
オブジェクト x
と y
を比較します。
[編集] 戻り値
1) x.month() == y.month() && x.weekday_indexed() == y.weekday_indexed()。
2) !(x == y)。