Skip to content

Commit 5d1bb1c

Browse files
committed
[over.match.oper] Replace "member, non-member, and built-in candidates"
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.
1 parent b667495 commit 5d1bb1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/overloading.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@
10831083
\item
10841084
For the relational\iref{expr.rel} operators,
10851085
the rewritten candidates include
1086-
all member, non-member, and built-in candidates
1086+
all non-rewritten candidates
10871087
for the expression \tcode{x <=> y}.
10881088
\item
10891089
For the
@@ -1093,19 +1093,19 @@
10931093
the rewritten candidates also include
10941094
a synthesized candidate,
10951095
with the order of the two parameters reversed,
1096-
for each member, non-member, and built-in candidate
1096+
for each non-rewritten candidate
10971097
for the expression
10981098
\tcode{y <=> x}.
10991099
\item
11001100
For the \tcode{!=} operator\iref{expr.eq},
11011101
the rewritten candidates
1102-
include all member, non-member, and built-in candidates
1102+
include all non-rewritten candidates
11031103
for the expression \tcode{x == y}.
11041104
\item
11051105
For the equality operators,
11061106
the rewritten candidates also include a synthesized candidate,
11071107
with the order of the two parameters reversed,
1108-
for each member, non-member, and built-in candidate
1108+
for each non-rewritten candidate
11091109
for the expression \tcode{y == x}.
11101110
\item
11111111
For all other operators, the rewritten candidate set is empty.

0 commit comments

Comments
 (0)