std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::month)
提供: cppreference.com
<tbody>
</tbody>
constexpr bool operator==(const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(1) | (C++20以上) |
constexpr bool operator!=(const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(2) | (C++20以上) |
constexpr bool operator< (const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(3) | (C++20以上) |
constexpr bool operator<=(const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(4) | (C++20以上) |
constexpr bool operator> (const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(5) | (C++20以上) |
constexpr bool operator>=(const std::chrono::month& x, const std::chrono::month& y) noexcept; |
(6) | (C++20以上) |
2つの std::chrono::month、 x と y を比較します。
戻り値
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)