File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 250
250
Common.
251
251
252
252
\ref {expr.sizeof }, \ref {expr.cast }
253
- \change Types must be declared in declarations, not in expressions
254
- In C, a sizeof expression or cast expression may create a new type.
253
+ \change Types must be defined in declarations, not in expressions\\
254
+ In C, a sizeof expression or cast expression may define a new type.
255
255
For example,
256
256
\begin {codeblock }
257
257
p = (void*)(struct x {int i;} *)0;
258
258
\end {codeblock }
259
- declares a new type, struct x .
259
+ defines a new type, struct \tcode {x} .
260
260
\rationale
261
261
This prohibition helps to clarify the location of
262
- declarations in the source code.
262
+ definitions in the source code.
263
263
\effect
264
264
Deletion of a semantically well-defined feature.
265
265
\difficulty
You can’t perform that action at this time.
0 commit comments