Skip to content

Commit 1a93d4a

Browse files
committed
[syserr.errcat.overview] Fixup: notes giving advice to programmers
1 parent c3d0584 commit 1a93d4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/diagnostics.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,8 @@
845845
passed by reference, and two such objects
846846
are equal if they have the same address.
847847
If there is more than a single object of a custom \tcode{error_category} type,
848-
such equality comparisons can spuriously fail.
848+
such equality comparisons can evaluate to \tcode{false}
849+
even for objects holding the same value.
849850
\end{note}
850851

851852
\indexlibraryglobal{error_category}%

0 commit comments

Comments
 (0)