std::chrono::operator==,!=(std::chrono::weekday_indexed) (3) - Linux Man Pages

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

NAME

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

Synopsis


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


Compares the two weekday_indexed x and y.

Return value


1) x.weekday() == y.weekday() && x.index() == y.index()
2) !(x == y)