|
772 | 772 | // \ref{time.zone.leap}, leap second support
|
773 | 773 | class leap_second;
|
774 | 774 |
|
775 |
| - bool operator==(const leap_second& x, const leap_second& y); |
776 |
| - strong_ordering operator<=>(const leap_second& x, const leap_second& y); |
| 775 | + constexpr bool operator==(const leap_second& x, const leap_second& y); |
| 776 | + constexpr strong_ordering operator<=>(const leap_second& x, const leap_second& y); |
777 | 777 |
|
778 | 778 | template<class Duration>
|
779 |
| - bool operator==(const leap_second& x, const sys_time<Duration>& y); |
| 779 | + constexpr bool operator==(const leap_second& x, const sys_time<Duration>& y); |
780 | 780 | template<class Duration>
|
781 |
| - bool operator< (const leap_second& x, const sys_time<Duration>& y); |
| 781 | + constexpr bool operator< (const leap_second& x, const sys_time<Duration>& y); |
782 | 782 | template<class Duration>
|
783 |
| - bool operator< (const sys_time<Duration>& x, const leap_second& y); |
| 783 | + constexpr bool operator< (const sys_time<Duration>& x, const leap_second& y); |
784 | 784 | template<class Duration>
|
785 |
| - bool operator> (const leap_second& x, const sys_time<Duration>& y); |
| 785 | + constexpr bool operator> (const leap_second& x, const sys_time<Duration>& y); |
786 | 786 | template<class Duration>
|
787 |
| - bool operator> (const sys_time<Duration>& x, const leap_second& y); |
| 787 | + constexpr bool operator> (const sys_time<Duration>& x, const leap_second& y); |
788 | 788 | template<class Duration>
|
789 |
| - bool operator<=(const leap_second& x, const sys_time<Duration>& y); |
| 789 | + constexpr bool operator<=(const leap_second& x, const sys_time<Duration>& y); |
790 | 790 | template<class Duration>
|
791 |
| - bool operator<=(const sys_time<Duration>& x, const leap_second& y); |
| 791 | + constexpr bool operator<=(const sys_time<Duration>& x, const leap_second& y); |
792 | 792 | template<class Duration>
|
793 |
| - bool operator>=(const leap_second& x, const sys_time<Duration>& y); |
| 793 | + constexpr bool operator>=(const leap_second& x, const sys_time<Duration>& y); |
794 | 794 | template<class Duration>
|
795 |
| - bool operator>=(const sys_time<Duration>& x, const leap_second& y); |
| 795 | + constexpr bool operator>=(const sys_time<Duration>& x, const leap_second& y); |
796 | 796 | template<class Duration>
|
797 | 797 | requires @\libconcept{three_way_comparable_with}@<sys_seconds, sys_time<Duration>>
|
798 | 798 | constexpr auto operator<=>(const leap_second& x, const sys_time<Duration>& y);
|
|
0 commit comments