std::chrono::operator==,<,<=,>,>=,<=>(std::chrono::leap_second)
<chrono>
const std::chrono::leap_second & y ) noexcept;
const std::chrono::leap_second & y ) noexcept;
constexpr bool operator==( const std::chrono::leap_second & x,
constexpr bool operator< ( const std::chrono::leap_second & x,
constexpr bool operator< ( const std::chrono::sys_time <Duration>& x,
constexpr bool operator> ( const std::chrono::leap_second & x,
constexpr bool operator> ( const std::chrono::sys_time <Duration>& x,
constexpr bool operator<=( const std::chrono::leap_second & x,
constexpr bool operator<=( const std::chrono::sys_time <Duration>& x,
constexpr bool operator>=( const std::chrono::leap_second & x,
constexpr bool operator>=( const std::chrono::sys_time <Duration>& x,
requires std::three_way_comparable_with <
std::chrono::sys_seconds, std::chrono::sys_time <Duration>>
constexpr auto operator<=>( const std::chrono::leap_second & x,
Compares the date and time represented by the objects x and y.
Return type of (12) is deduced from x.date() <=> y, and hence the three-way comparison result type of std::chrono::seconds and Duration
.
The !=
operator is synthesized from operator==
.