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

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

NAME

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

Synopsis


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


Compares the two weekday_last objects x and y.

Return value


1) x.weekday() == y.weekday()
1) x.weekday() != y.weekday()