Skip to content

Commit

Permalink
[over.match.oper] Replace "member, non-member, and built-in candidates"
Browse files Browse the repository at this point in the history
with "non-rewritten candidates"

This simplifies the wording, implicitly explains why we're considering
only some candidates, and avoids overtly suggesting that we could ever
pick a reversed-parameter-order built-in candidate.
  • Loading branch information
zygoloid committed Aug 2, 2019
1 parent b667495 commit 5d1bb1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/overloading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
\item
For the relational\iref{expr.rel} operators,
the rewritten candidates include
all member, non-member, and built-in candidates
all non-rewritten candidates
for the expression \tcode{x <=> y}.
\item
For the
Expand All @@ -1093,19 +1093,19 @@
the rewritten candidates also include
a synthesized candidate,
with the order of the two parameters reversed,
for each member, non-member, and built-in candidate
for each non-rewritten candidate
for the expression
\tcode{y <=> x}.
\item
For the \tcode{!=} operator\iref{expr.eq},
the rewritten candidates
include all member, non-member, and built-in candidates
include all non-rewritten candidates
for the expression \tcode{x == y}.
\item
For the equality operators,
the rewritten candidates also include a synthesized candidate,
with the order of the two parameters reversed,
for each member, non-member, and built-in candidate
for each non-rewritten candidate
for the expression \tcode{y == x}.
\item
For all other operators, the rewritten candidate set is empty.
Expand Down

0 comments on commit 5d1bb1c

Please sign in to comment.