# std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::month_day_last)

From cppreference.com
< cpp‎ | chrono‎ | month day last

constexpr bool operator==(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)
constexpr bool operator!=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)
constexpr bool operator< (const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)
constexpr bool operator> (const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)
constexpr bool operator<=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)
constexpr bool operator>=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |  | (since C++20)

Compares the two `month_day_last` objects `x` and `y`.

### Return value

1) x.month() == y.month()
2) x.month() != y.month()
3) x.month() < y.month()
4) x.month() > y.month()
5) x.month() <= y.month()
6) x.month() >= y.month()
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/month_day_last/operator_cmp&oldid=104699"