Skip to content

Commit fc18632

Browse files
opensdhzygoloid
authored andcommitted
[class.spaceship] Remove vacuous conversion
The synthesized three-way comparison always produces a value of type R
1 parent 05c786c commit fc18632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6943,7 +6943,7 @@
69436943
between $\tcode{x}_i$ and $\tcode{y}_i$
69446944
yields a result value $\tcode{v}_i$ where $\tcode{v}_i \mathrel{\tcode{!=}} 0$,
69456945
contextually converted to \tcode{bool}, yields \tcode{true};
6946-
\tcode{V} is $\tcode{v}_i$ converted to \tcode{R}.
6946+
\tcode{V} is $\tcode{v}_i$.
69476947
If no such index exists, \tcode{V} is
69486948
\tcode{std::strong_ordering::equal} converted to \tcode{R}.
69496949

0 commit comments

Comments
 (0)