|
3829 | 3829 | friend constexpr bool operator!=(weak_equality v, @\unspec@) noexcept;
|
3830 | 3830 | friend constexpr bool operator==(@\unspec@, weak_equality v) noexcept;
|
3831 | 3831 | friend constexpr bool operator!=(@\unspec@, weak_equality v) noexcept;
|
| 3832 | + friend constexpr weak_equality operator<=>(weak_equality v, @\unspec@) noexcept; |
| 3833 | + friend constexpr weak_equality operator<=>(@\unspec@, weak_equality v) noexcept; |
3832 | 3834 | };
|
3833 | 3835 |
|
3834 | 3836 | // valid values' definitions
|
|
3861 | 3863 | \tcode{v.value != 0}.
|
3862 | 3864 | \end{itemdescr}
|
3863 | 3865 |
|
| 3866 | +\indexlibrarymember{operator<=>}{weak_equality}% |
| 3867 | +\begin{itemdecl} |
| 3868 | +constexpr weak_equality operator<=>(weak_equality v, @\unspec@) noexcept; |
| 3869 | +constexpr weak_equality operator<=>(@\unspec@, weak_equality v) noexcept; |
| 3870 | +\end{itemdecl} |
| 3871 | + |
| 3872 | +\begin{itemdescr} |
| 3873 | +\pnum |
| 3874 | +\returns |
| 3875 | +\tcode{v}. |
| 3876 | +\end{itemdescr} |
| 3877 | + |
3864 | 3878 | \rSec3[cmp.strongeq]{Class \tcode{strong_equality}}
|
3865 | 3879 |
|
3866 | 3880 | \pnum
|
|
3897 | 3911 | friend constexpr bool operator!=(strong_equality v, @\unspec@) noexcept;
|
3898 | 3912 | friend constexpr bool operator==(@\unspec@, strong_equality v) noexcept;
|
3899 | 3913 | friend constexpr bool operator!=(@\unspec@, strong_equality v) noexcept;
|
| 3914 | + friend constexpr strong_equality operator<=>(strong_equality v, @\unspec@) noexcept; |
| 3915 | + friend constexpr strong_equality operator<=>(@\unspec@, strong_equality v) noexcept; |
3900 | 3916 | };
|
3901 | 3917 |
|
3902 | 3918 | // valid values' definitions
|
|
3942 | 3958 | \tcode{v.value != 0}.
|
3943 | 3959 | \end{itemdescr}
|
3944 | 3960 |
|
| 3961 | +\indexlibrarymember{operator<=>}{strong_equality}% |
| 3962 | +\begin{itemdecl} |
| 3963 | +constexpr strong_equality operator<=>(strong_equality v, @\unspec@) noexcept; |
| 3964 | +constexpr strong_equality operator<=>(@\unspec@, strong_equality v) noexcept; |
| 3965 | +\end{itemdecl} |
| 3966 | + |
| 3967 | +\begin{itemdescr} |
| 3968 | +\pnum |
| 3969 | +\returns |
| 3970 | +\tcode{v}. |
| 3971 | +\end{itemdescr} |
| 3972 | + |
3945 | 3973 | \rSec3[cmp.partialord]{Class \tcode{partial_ordering}}
|
3946 | 3974 |
|
3947 | 3975 | \pnum
|
|
3994 | 4022 | friend constexpr bool operator<=(@\unspec@, partial_ordering v) noexcept;
|
3995 | 4023 | friend constexpr bool operator> (@\unspec@, partial_ordering v) noexcept;
|
3996 | 4024 | friend constexpr bool operator>=(@\unspec@, partial_ordering v) noexcept;
|
| 4025 | + friend constexpr partial_ordering operator<=>(partial_ordering v, @\unspec@) noexcept; |
| 4026 | + friend constexpr partial_ordering operator<=>(@\unspec@, partial_ordering v) noexcept; |
3997 | 4027 | };
|
3998 | 4028 |
|
3999 | 4029 | // valid values' definitions
|
|
4068 | 4098 | For \tcode{operator@}, \tcode{!v.is_ordered || v.value != 0}.
|
4069 | 4099 | \end{itemdescr}
|
4070 | 4100 |
|
| 4101 | +\indexlibrarymember{operator<=>}{partial_ordering}% |
| 4102 | +\begin{itemdecl} |
| 4103 | +constexpr partial_ordering operator<=>(partial_ordering v, @\unspec@) noexcept; |
| 4104 | +\end{itemdecl} |
| 4105 | + |
| 4106 | +\begin{itemdescr} |
| 4107 | +\pnum |
| 4108 | +\returns |
| 4109 | +\tcode{v}. |
| 4110 | +\end{itemdescr} |
| 4111 | + |
| 4112 | +\indexlibrarymember{operator<=>}{partial_ordering}% |
| 4113 | +\begin{itemdecl} |
| 4114 | +constexpr partial_ordering operator<=>(@\unspec@, partial_ordering v) noexcept; |
| 4115 | +\end{itemdecl} |
| 4116 | + |
| 4117 | +\begin{itemdescr} |
| 4118 | +\pnum |
| 4119 | +\returns |
| 4120 | +\tcode{v < 0 ?\ partial_ordering::greater :\ v > 0 ?\ partial_ordering::less :\ v}. |
| 4121 | +\end{itemdescr} |
| 4122 | + |
4071 | 4123 | \rSec3[cmp.weakord]{Class \tcode{weak_ordering}}
|
4072 | 4124 |
|
4073 | 4125 | \pnum
|
|
4112 | 4164 | friend constexpr bool operator<=(@\unspec@, weak_ordering v) noexcept;
|
4113 | 4165 | friend constexpr bool operator> (@\unspec@, weak_ordering v) noexcept;
|
4114 | 4166 | friend constexpr bool operator>=(@\unspec@, weak_ordering v) noexcept;
|
| 4167 | + friend constexpr weak_ordering operator<=>(weak_ordering v, @\unspec@) noexcept; |
| 4168 | + friend constexpr weak_ordering operator<=>(@\unspec@, weak_ordering v) noexcept; |
4115 | 4169 | };
|
4116 | 4170 |
|
4117 | 4171 | // valid values' definitions
|
|
4189 | 4243 | \tcode{0 @ v.value} for \tcode{operator@}.
|
4190 | 4244 | \end{itemdescr}
|
4191 | 4245 |
|
| 4246 | +\indexlibrarymember{operator<=>}{weak_ordering}% |
| 4247 | +\begin{itemdecl} |
| 4248 | +constexpr weak_ordering operator<=>(weak_ordering v, @\unspec@) noexcept; |
| 4249 | +\end{itemdecl} |
| 4250 | + |
| 4251 | +\begin{itemdescr} |
| 4252 | +\pnum |
| 4253 | +\returns |
| 4254 | +\tcode{v}. |
| 4255 | +\end{itemdescr} |
| 4256 | + |
| 4257 | +\indexlibrarymember{operator<=>}{weak_ordering}% |
| 4258 | +\begin{itemdecl} |
| 4259 | +constexpr weak_ordering operator<=>(@\unspec@, weak_ordering v) noexcept; |
| 4260 | +\end{itemdecl} |
| 4261 | + |
| 4262 | +\begin{itemdescr} |
| 4263 | +\pnum |
| 4264 | +\returns |
| 4265 | +\tcode{v < 0 ?\ weak_ordering::greater :\ v > 0 ?\ weak_ordering::less :\ v}. |
| 4266 | +\end{itemdescr} |
| 4267 | + |
4192 | 4268 | \rSec3[cmp.strongord]{Class \tcode{strong_ordering}}
|
4193 | 4269 |
|
4194 | 4270 | \pnum
|
|
4237 | 4313 | friend constexpr bool operator<=(@\unspec@, strong_ordering v) noexcept;
|
4238 | 4314 | friend constexpr bool operator> (@\unspec@, strong_ordering v) noexcept;
|
4239 | 4315 | friend constexpr bool operator>=(@\unspec@, strong_ordering v) noexcept;
|
| 4316 | + friend constexpr strong_ordering operator<=>(strong_ordering v, @\unspec@) noexcept; |
| 4317 | + friend constexpr strong_ordering operator<=>(@\unspec@, strong_ordering v) noexcept; |
4240 | 4318 | };
|
4241 | 4319 |
|
4242 | 4320 | // valid values' definitions
|
|
4341 | 4419 | \tcode{0 @ v.value} for \tcode{operator@}.
|
4342 | 4420 | \end{itemdescr}
|
4343 | 4421 |
|
| 4422 | +\indexlibrarymember{operator<=>}{strong_ordering}% |
| 4423 | +\begin{itemdecl} |
| 4424 | +constexpr strong_ordering operator<=>(strong_ordering v, @\unspec@) noexcept; |
| 4425 | +\end{itemdecl} |
| 4426 | + |
| 4427 | +\begin{itemdescr} |
| 4428 | +\pnum |
| 4429 | +\returns |
| 4430 | +\tcode{v}. |
| 4431 | +\end{itemdescr} |
| 4432 | + |
| 4433 | +\indexlibrarymember{operator<=>}{strong_ordering}% |
| 4434 | +\begin{itemdecl} |
| 4435 | +constexpr strong_ordering operator<=>(@\unspec@, strong_ordering v) noexcept; |
| 4436 | +\end{itemdecl} |
| 4437 | + |
| 4438 | +\begin{itemdescr} |
| 4439 | +\pnum |
| 4440 | +\returns |
| 4441 | +\tcode{v < 0 ?\ strong_ordering::greater :\ v > 0 ?\ strong_ordering::less :\ v}. |
| 4442 | +\end{itemdescr} |
| 4443 | + |
4344 | 4444 | \rSec2[cmp.common]{Class template \tcode{common_comparison_category}}
|
4345 | 4445 |
|
4346 | 4446 | \pnum
|
|
0 commit comments