名前空間
変種
操作

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

提供: cppreference.com
< cpp‎ | chrono‎ | day
 
 
ユーティリティライブラリ
汎用ユーティリティ
日付と時間
関数オブジェクト
書式化ライブラリ(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 スタイルの日付と時間
 
 
constexprbool operator==(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(1) (C++20以上)
constexprbool operator!=(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(2) (C++20以上)
constexprbool operator<(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(3) (C++20以上)
constexprbool operator<=(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(4) (C++20以上)
constexprbool operator>(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(5) (C++20以上)
constexprbool operator>=(const std::chrono::day& x, const std::chrono::day& y)noexcept;
(6) (C++20以上)

2つの std::chrono::dayxy を比較します。

[編集] 戻り値

1)unsigned(x)==unsigned(y)
2)unsigned(x)!=unsigned(y)
3)unsigned(x)<  unsigned(y)
4)unsigned(x)<=unsigned(y)
5)unsigned(x)>  unsigned(y)
6)unsigned(x)>=unsigned(y)
close