std::chrono::operator==,!=,<,<=,>,>=(std::chrono::month_day_last) (3) - Linux Manuals

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

NAME

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

Synopsis


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


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()