std::chrono::operator ==,!= (std::chrono::weekday_indexed)
提供: cppreference.com
< cpp | chrono | weekday indexed
constexpr bool operator==(const std::chrono::weekday_indexed& x, const std::chrono::weekday_indexed& y) noexcept; |
(C++20以上) | |
constexpr bool operator!=(const std::chrono::weekday_indexed& x, const std::chrono::weekday_indexed& y) noexcept; |
(C++20以上) | |
2つの weekday_indexed
、 x
と y
を比較します。
[編集] 戻り値
1) x.weekday() == y.weekday() && x.index() == y.index()
2) !(x == y)