std::chrono::operator ==,!=,<,<=,>,>= (std::chrono::month_day_last)
来自cppreference.com
< cpp | chrono | month day last
constexpr bool operator==(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
constexpr bool operator!=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
constexpr bool operator< (const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
constexpr bool operator> (const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
constexpr bool operator<=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
constexpr bool operator>=(const std::chrono::month_day_last& x, const std::chrono::month_day_last& y) noexcept; |
(C++20 起) | |
比较二个 month_day_last
对象 x
与 y
。
返回值
1) x.month() == y.month()
2) x.month() != y.month()
3) x.month() < y.month()
4) x.month() > y.month()
5) x.month() <= y.month()
6) x.month() >= y.month()