|
11003 | 11003 | friend constexpr bool operator==(reference_wrapper, const T&);
|
11004 | 11004 | friend constexpr bool operator==(reference_wrapper, reference_wrapper<const T>);
|
11005 | 11005 |
|
11006 |
| - friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper, reference_wrapper); |
11007 |
| - friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper, const T&); |
11008 |
| - friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper, |
11009 |
| - reference_wrapper<const T>); |
| 11006 | + friend constexpr auto operator<=>(reference_wrapper, reference_wrapper); |
| 11007 | + friend constexpr auto operator<=>(reference_wrapper, const T&); |
| 11008 | + friend constexpr auto operator<=>(reference_wrapper, reference_wrapper<const T>); |
11010 | 11009 | };
|
11011 | 11010 |
|
11012 | 11011 | template<class T>
|
@@ -11183,34 +11182,45 @@
|
11183 | 11182 | \end{itemdescr}
|
11184 | 11183 |
|
11185 | 11184 | \begin{itemdecl}
|
11186 |
| -friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper x, reference_wrapper y); |
| 11185 | +friend constexpr auto operator<=>(reference_wrapper x, reference_wrapper y); |
11187 | 11186 | \end{itemdecl}
|
11188 | 11187 |
|
11189 | 11188 | \begin{itemdescr}
|
| 11189 | +\pnum |
| 11190 | +\constraints |
| 11191 | +The expression \tcode{\exposid{synth-three-way}(x.get(), y.get())} |
| 11192 | +is well-formed. |
| 11193 | + |
11190 | 11194 | \pnum
|
11191 | 11195 | \returns
|
11192 | 11196 | \tcode{\exposid{synth-three-way}(x.get(), y.get())}.
|
11193 | 11197 | \end{itemdescr}
|
11194 | 11198 |
|
11195 | 11199 | \begin{itemdecl}
|
11196 |
| -friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper x, const T& y); |
| 11200 | +friend constexpr auto operator<=>(reference_wrapper x, const T& y); |
11197 | 11201 | \end{itemdecl}
|
11198 | 11202 |
|
11199 | 11203 | \begin{itemdescr}
|
| 11204 | +\pnum |
| 11205 | +\constraints |
| 11206 | +The expression \tcode{\exposid{synth-three-way}(x.get(), y)} |
| 11207 | +is well-formed. |
| 11208 | + |
11200 | 11209 | \pnum
|
11201 | 11210 | \returns
|
11202 | 11211 | \tcode{\exposid{synth-three-way}(x.get(), y)}.
|
11203 | 11212 | \end{itemdescr}
|
11204 | 11213 |
|
11205 | 11214 | \begin{itemdecl}
|
11206 |
| -friend constexpr @\exposidnc{synth-three-way-result}@<T> operator<=>(reference_wrapper x, |
11207 |
| - reference_wrapper<const T> y); |
| 11215 | +friend constexpr auto operator<=>(reference_wrapper x, reference_wrapper<const T> y); |
11208 | 11216 | \end{itemdecl}
|
11209 | 11217 |
|
11210 | 11218 | \begin{itemdescr}
|
11211 | 11219 | \pnum
|
11212 | 11220 | \constraints
|
11213 | 11221 | \tcode{is_const_v<T>} is \tcode{false}.
|
| 11222 | +The expression \tcode{\exposid{synth-three-way}(x.get(), y.get())} |
| 11223 | +is well-formed. |
11214 | 11224 |
|
11215 | 11225 | \pnum
|
11216 | 11226 | \returns
|
|
0 commit comments