Lines Matching refs:__rhs

60 _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator==(const month_day& __lhs, const month_day& __rhs) noexcept {
61 return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day();
65 operator<=>(const month_day& __lhs, const month_day& __rhs) noexcept {
66 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
68 return __lhs.day() <=> __rhs.day();
71 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const month& __lhs, const day& __rhs) noexcept {
72 return month_day{__lhs, __rhs};
75 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const day& __lhs, const month& __rhs) noexcept {
76 return __rhs / __lhs;
79 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const month& __lhs, int __rhs) noexcept {
80 return __lhs / day(__rhs);
83 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(int __lhs, const day& __rhs) noexcept {
84 return month(__lhs) / __rhs;
87 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const day& __lhs, int __rhs) noexcept {
88 return month(__rhs) / __lhs;
102 operator==(const month_day_last& __lhs, const month_day_last& __rhs) noexcept {
103 return __lhs.month() == __rhs.month();
107 operator<=>(const month_day_last& __lhs, const month_day_last& __rhs) noexcept {
108 return __lhs.month() <=> __rhs.month();
115 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day_last operator/(last_spec, const month& __rhs) noexcept {
116 return month_day_last{__rhs};
123 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day_last operator/(last_spec, int __rhs) noexcept {
124 return month_day_last{month(__rhs)};