名前空間
変種

std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::leap_second)

提供: cppreference.com
 
 
ユーティリティライブラリ
汎用ユーティリティ
日付と時間
関数オブジェクト
書式化ライブラリ (C++20)
(C++11)
関係演算子 (C++20で非推奨)
整数比較関数
(C++20)
スワップと型操作
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
一般的な語彙の型
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

初等文字列変換
(C++17)
(C++17)
 
日付と時間のユーティリティ
(C++11)
(C++11)
時刻
(C++20)



(C++20)(C++20)(C++20)(C++20)
時計
(C++20)
                                             
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
カレンダー
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
タイムゾーン
(C++20)
(C++20)
(C++20)
(C++20)
C スタイルの日付と時間
 
 
<tbody> </tbody>
ヘッダ <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, const std::chrono::sys_time<Duration>& y ) noexcept;
(3) (C++20以上)
template< class Duration > constexpr bool operator< ( const std::chrono::leap_second& x, const std::chrono::sys_time<Duration>& y ) noexcept;
(4) (C++20以上)
template< class Duration > constexpr bool operator< ( const std::chrono::sys_time<Duration>& x, const std::chrono::leap_second& y ) noexcept;
(5) (C++20以上)
template< class Duration > constexpr bool operator> ( const std::chrono::leap_second& x, const std::chrono::sys_time<Duration>& y ) noexcept;
(6) (C++20以上)
template< class Duration > constexpr bool operator> ( const std::chrono::sys_time<Duration>& x, const std::chrono::leap_second& y ) noexcept;
(7) (C++20以上)
template< class Duration > constexpr bool operator<=( const std::chrono::leap_second& x, const std::chrono::sys_time<Duration>& y ) noexcept;
(8) (C++20以上)
template< class Duration > constexpr bool operator<=( const std::chrono::sys_time<Duration>& x, const std::chrono::leap_second& y ) noexcept;
(9) (C++20以上)
template< class Duration > constexpr bool operator>=( const std::chrono::leap& x, const std::chrono::sys_time<Duration>& y ) noexcept;
(10) (C++20以上)
template< class Duration > constexpr bool operator>=( const std::chrono::sys_time<Duration>& x, const std::chrono::leap_second& y ) noexcept;
(11) (C++20以上)
template< class Duration > requires std::three_­way_­comparable_­with< std:chrono::sys_seconds, std::chrono::sys_time<Duration>> constexpr auto operator<=>( const std::chrono::leap_second& x, const std::chrono::sys_time<Duration>& y ) noexcept;
(12) (C++20以上)

オブジェクト xy が表す日付と時刻を比較します。

(12) の戻り値の型は x.date() <=> y から推定され、従って std::chrono::secondsDuration の三方比較の結果の型です。

戻り値

1) x.date() == y.date()
2) x.date() <=> y.date()
3) x.date() == y
4) x.date() < y
5) x < y.date()
6) x.date() > y
7) x > y.date()
8) x.date() <= y
9) x <= y.date()
10) x.date() >= y
11) x >= y.date()
12) x.date() <=> y
Morty Proxy This is a proxified and sanitized view of the page, visit original site.