std::chrono::operator ==,!= (std::chrono::weekday_indexed)
提供: cppreference.com
< cpp | chrono | weekday indexed
constexprbool operator==(const std::chrono::weekday_indexed& x, const std::chrono::weekday_indexed& y)noexcept; | (C++20以上) | |
constexprbool 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)