Skip to content

Commit b53c276

Browse files
committed
Clarify use of the word initializer
1 parent 7eb0851 commit b53c276

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

specs/language/declarations.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,19 @@
9292
initializer list or an expression which generates a value that either is or can
9393
be implicitly converted to an rvalue. Each assignment-expression is an object,
9494
which may be a scalar or aggregate type. A \textit{flattened initializer
95-
sequence} is constructed by a depth-first traversal over each
96-
assignment-expression in an initializer-list and performing a depth-first
97-
traversal accessing each subobject of the assignment-expression.
95+
sequence} is a sequence of expressions constructed by a depth-first traversal
96+
over each assignment-expression in an initializer-list and performing a
97+
depth-first traversal accessing each subobject of the assignment-expression.
9898

9999
\p If the target object is an array of unknown size, the object is assumed to
100100
have \(m\) possible elements during parsing, where \(m>0\).
101101

102102
\p An initializer-list is a valid initializer if for each element
103103
\(E_{n \bmod m}\) in the target object's flattened ordering there is a
104-
corresponding initializer \(I_n\) in the flattened initializer sequence, which
104+
corresponding expression \(E_n\) in the flattened initializer sequence, which
105105
can be implicitly converted to the element's type. For arrays of unknown size,
106-
the total number of initializers must be a multiple of the array's base element
107-
type.
106+
the total number of expressions in the flattened initializer sequence must be a
107+
multiple of the array's base element type.
108108

109109
\p An initializer-list is invalid if the flattened initializer sequence contains
110110
more or fewer elements than the target object's flattened ordering, or if any

0 commit comments

Comments
 (0)