File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
libcxx/include/__cxx03/__chrono Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -79,25 +79,6 @@ _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator==(const weekday& __lhs, con
7979 return __lhs.c_encoding () == __rhs.c_encoding ();
8080}
8181
82- // TODO(LLVM 20): Remove the escape hatch
83- # ifdef _LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS
84- _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator <(const weekday& __lhs, const weekday& __rhs) noexcept {
85- return __lhs.c_encoding () < __rhs.c_encoding ();
86- }
87-
88- _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator >(const weekday& __lhs, const weekday& __rhs) noexcept {
89- return __rhs < __lhs;
90- }
91-
92- _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator <=(const weekday& __lhs, const weekday& __rhs) noexcept {
93- return !(__rhs < __lhs);
94- }
95-
96- _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator >=(const weekday& __lhs, const weekday& __rhs) noexcept {
97- return !(__lhs < __rhs);
98- }
99- # endif // _LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS
100-
10182_LIBCPP_HIDE_FROM_ABI inline constexpr weekday operator +(const weekday& __lhs, const days& __rhs) noexcept {
10283 auto const __mu = static_cast <long long >(__lhs.c_encoding ()) + __rhs.count ();
10384 auto const __yr = (__mu >= 0 ? __mu : __mu - 6 ) / 7 ;
You can’t perform that action at this time.
0 commit comments