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

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

NAME

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

Synopsis


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


Compares the two month_weekday_last objects x and y.

Return values


1) x.month() == y.month() && x.weekday_last() == y.weekday_last().
2) !(x == y).