6.2.5 Types
....
19
The void type comprises an empty set of values; it
is an incomplete type that cannot be completed.
6.5.3.4 The sizeof operator
Constraints
1
The sizeof operator shall not be applied to an expression that has function type or
an incomplete type, to the parenthesized name of such a type, or to an expression that designates a bit-field member.
4. Conformance
1 In this International Standard, ‘‘shall’’ is to be interpreted as a requirement on animplementation or on a program; conversely, ‘‘
shall not’’ is to be interpreted as a prohibition.
2 If a ‘‘shall’’ or ‘‘shall not’’ requirement that appears outside of a constraint is violated,
the behavior is undefined.
Partager