Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19a5a71

Browse files
committed
Patch #744238: Explain that different string types also may compare equal.
1 parent 7472336 commit 19a5a71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libstdtypes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ \subsection{Comparisons \label{comparisons}}
144144

145145
\end{description}
146146

147-
Objects of different types, except different numeric types, never
147+
Objects of different types, except different numeric types and different string types, never
148148
compare equal; such objects are ordered consistently but arbitrarily
149149
(so that sorting a heterogeneous array yields a consistent result).
150150
Furthermore, some types (for example, file objects) support only a

0 commit comments

Comments
 (0)