Skip to content

Commit 7b2b2e1

Browse files
burblebeetkoeppe
authored andcommitted
CWG2749 Treatment of "pointer to void" for relational comparisons
1 parent c5b42c9 commit 7b2b2e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/expressions.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6595,8 +6595,10 @@
65956595
Otherwise, the result of each of the operators is unspecified.
65966596
\begin{note}
65976597
A relational operator applied
6598-
to unequal function pointers or to unequal pointers to \tcode{void}
6598+
to unequal function pointers
65996599
yields an unspecified result.
6600+
A pointer value of type ``pointer to \cv{}~\keyword{void}''
6601+
can point to an object\iref{basic.compound}.
66006602
\end{note}
66016603

66026604
\pnum

0 commit comments

Comments
 (0)