namespace std::chrono {
constexpr bool
operator==(const year_month_day_last& x,
const year_month_day_last& y) noexcept; // (1) C++20
}
概要
year_month_day_last
同士の等値比較を行う。
戻り値
- (1) :
return x.year() == y.year() && x.month_day_last() == y.month_day_last();
例外
投げない
備考
- この演算子により、
operator!=
が使用可能になる
例
出力
バージョン
言語
- C++20
処理系
- Clang: 8.0 ✅
- GCC: 11.1 ✅
- Visual C++: 2019 Update 3 ❌