std::chrono::operator==(std::chrono::weekday)

From cppreference.com
< cpp‎ | chrono‎ | weekday
 
 
 
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
                                             
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
 
constexpr bool operator==( const std::chrono::weekday& x,
                           const std::chrono::weekday& y ) noexcept;
(since C++20)

Compare the two std::chrono::weekday x and y.

Return value

x.c_encoding() == y.c_encoding()

Notes

weekday does not support the <, <=, > and >= operators because there is no universal consensus on which day is the first day of the week.