Skip to content

Commit c005881

Browse files
committed
[class.eq] Remove redundant repetition of the operator== symmetry rule.
1 parent 007c0c1 commit c005881

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/classes.tex

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6750,12 +6750,9 @@
67506750
results in an ambiguity or a function
67516751
that is deleted or inaccessible from the operator function, or
67526752
\item
6753-
\tcode{x == y} or \tcode{y == x}
6754-
cannot be contextually converted to \tcode{bool}.
6753+
\tcode{x == y} cannot be contextually converted to \tcode{bool}.
67556754
\end{itemize}
6756-
Otherwise, the operator function yields \tcode{(x == y) ? false : true}
6757-
if an operator \tcode{==} with the original order of parameters was selected,
6758-
or \tcode{(y == x) ? false : true} otherwise.
6755+
Otherwise, the operator function yields \tcode{(x == y) ?\ false :\ true}.
67596756

67606757
\pnum
67616758
\begin{example}

0 commit comments

Comments
 (0)