Skip to content

Commit

Permalink
CWG1251
Browse files Browse the repository at this point in the history
  • Loading branch information
sdutoit committed Feb 26, 2012
1 parent 94efa1e commit 02a8b32
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions source/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,6 @@
Some ISO C translators will give a warning
if the cast is not used.

\ref{conv.ptr}
\change Only pointers to non-const and non-volatile objects may be implicitly converted to \tcode{void*}
\rationale
This improves type safety.
\effect
Deletion of semantically well-defined feature.
\difficulty
Could be automated.
A C program containing such an implicit conversion from, e.g.,
pointer-to-const-object to void* will receive a diagnostic message.
The correction is to add an explicit cast.
\howwide
Seldom.

\rSec2[diff.expr]{Clause \ref{expr}: expressions}

\ref{expr.call}
Expand Down

0 comments on commit 02a8b32

Please sign in to comment.