Skip to content

Commit bec6795

Browse files
committed
[over.match.best] Use new "rewritten candidates" terminology to simplify
wording.
1 parent 51684d2 commit bec6795

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

source/overloading.tex

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,10 +1764,8 @@
17641764
or, if not that,
17651765

17661766
\item
1767-
\tcode{F1} is an operator function
1768-
for a relational\iref{expr.rel} or equality\iref{expr.eq} operator
1769-
and \tcode{F2} is an operator function
1770-
for a three-way comparison operator\iref{expr.spaceship}
1767+
\tcode{F2} is a rewritten candidate\iref{over.match.oper} and
1768+
\tcode{F1} is not
17711769
\begin{example}
17721770
\begin{codeblock}
17731771
struct S {
@@ -1780,8 +1778,7 @@
17801778
or, if not that,
17811779

17821780
\item
1783-
\tcode{F1} and \tcode{F2} are operator functions
1784-
for \tcode{operator<=>} and
1781+
\tcode{F1} and \tcode{F2} are rewritten candidates, and
17851782
\tcode{F2} is a synthesized candidate
17861783
with reversed order of parameters
17871784
and \tcode{F1} is not

0 commit comments

Comments
 (0)