Skip to content

Commit d401595

Browse files
authored
[diff.expr] Include conversions involving pointers to cv void in the changes
1 parent ca77cdb commit d401595

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/compatibility.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,7 +2967,8 @@
29672967

29682968
\diffref{conv.ptr}
29692969
\change
2970-
Converting \tcode{\keyword{void}*} to a pointer-to-object type requires casting.
2970+
Converting a prvalue of type ``pointer to \cv{} \tcode{void}''
2971+
to a pointer-to-object type requires casting.
29712972
\begin{example}
29722973
\begin{codeblock}
29732974
char a[10];
@@ -2977,7 +2978,7 @@
29772978
}
29782979
\end{codeblock}
29792980

2980-
C accepts this usage of pointer to \keyword{void} being assigned
2981+
C accepts this usage of ``pointer to \keyword{void}'' being assigned
29812982
to a pointer to object type.
29822983
\Cpp{} does not.
29832984
\end{example}

0 commit comments

Comments
 (0)