std::chrono::operator==,!=(std::chrono::year_month_weekday_last) (3) - Linux Manuals

std::chrono::operator==,!=(std::chrono::year_month_weekday_last): std::chrono::operator==,!=(std::chrono::year_month_weekday_last)

NAME

std::chrono::operator==,!=(std::chrono::year_month_weekday_last) - std::chrono::operator==,!=(std::chrono::year_month_weekday_last)

Synopsis


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


Compares the two year_month_weekday_last objects x and y.

Return value


1) x.year() == y.year() && x.month() == y.month() && x.weekday() == y.weekday()
2) !(x == y)