std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::leap_second)
ヘッダ <chrono> で定義
|
||
constexpr bool operator==( const std::chrono::leap_second& x, const std::chrono::leap_second& y ) noexcept; |
(1) | (C++20以上) |
constexpr std::strong_ordering operator<=>( const std::chrono::leap_second& x, const std::chrono::leap_second& y ) noexcept; |
(2) | (C++20以上) |
template< class Duration > constexpr bool operator==( const std::chrono::leap_second& x, |
(3) | (C++20以上) |
template< class Duration > constexpr bool operator< ( const std::chrono::leap_second& x, |
(4) | (C++20以上) |
template< class Duration > constexpr bool operator< ( const std::chrono::sys_time<Duration>& x, |
(5) | (C++20以上) |
template< class Duration > constexpr bool operator> ( const std::chrono::leap_second& x, |
(6) | (C++20以上) |
template< class Duration > constexpr bool operator> ( const std::chrono::sys_time<Duration>& x, |
(7) | (C++20以上) |
template< class Duration > constexpr bool operator<=( const std::chrono::leap_second& x, |
(8) | (C++20以上) |
template< class Duration > constexpr bool operator<=( const std::chrono::sys_time<Duration>& x, |
(9) | (C++20以上) |
template< class Duration > constexpr bool operator>=( const std::chrono::leap& x, |
(10) | (C++20以上) |
template< class Duration > constexpr bool operator>=( const std::chrono::sys_time<Duration>& x, |
(11) | (C++20以上) |
template< class Duration > requires std::three_way_comparable_with< |
(12) | (C++20以上) |
オブジェクト x
と y
が表す日付と時刻を比較します。
(12) の戻り値の型は x.date() <=> y から推定され、従って std::chrono::seconds と Duration
の三方比較の結果の型です。