Skip to content

Commit f1449ea

Browse files
committed
[expr.sizeof] Clarify sizeof(array)
1 parent a4e40b0 commit f1449ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/expressions.tex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4705,9 +4705,8 @@
47054705
and less strict padding requirements on potentially-overlapping subobjects.
47064706
\end{footnote}
47074707
\indextext{array!\idxcode{sizeof}}%
4708-
When applied to an array, the result is the total number of bytes in the
4709-
array. This implies that the size of an array of $n$ elements is
4710-
$n$ times the size of an element.
4708+
When applied to an array of $n$ elements,
4709+
the result is $n$ times the size of an element.
47114710

47124711
\pnum
47134712
The lvalue-to-rvalue\iref{conv.lval},

0 commit comments

Comments
 (0)