|
4735 | 4735 | of the aggregate are determined as follows:
|
4736 | 4736 | \begin{itemize}
|
4737 | 4737 | \item
|
4738 |
| -If the initializer list is a \grammarterm{designated-initializer-list}, |
| 4738 | +If the initializer list is |
| 4739 | +a brace-enclosed \grammarterm{designated-initializer-list}, |
4739 | 4740 | the aggregate shall be of class type,
|
4740 | 4741 | the \grammarterm{identifier} in each \grammarterm{designator}
|
4741 | 4742 | shall name a direct non-static data member of the class, and
|
4742 | 4743 | the explicitly initialized elements of the aggregate
|
4743 | 4744 | are the elements that are, or contain, those members.
|
4744 | 4745 | \item
|
4745 |
| -If the initializer list is an \grammarterm{initializer-list}, |
| 4746 | +If the initializer list is a brace-enclosed \grammarterm{initializer-list}, |
4746 | 4747 | the explicitly initialized elements of the aggregate
|
4747 | 4748 | are the first $n$ elements of the aggregate,
|
4748 | 4749 | where $n$ is the number of elements in the initializer list.
|
|
4756 | 4757 | \begin{itemize}
|
4757 | 4758 | \item
|
4758 | 4759 | If the element is an anonymous union member and
|
4759 |
| -the initializer list is a \grammarterm{designated-initializer-list}, |
| 4760 | +the initializer list is |
| 4761 | +a brace-enclosed \grammarterm{designated-initializer-list}, |
4760 | 4762 | the element is initialized by the
|
4761 | 4763 | \grammarterm{designated-initializer-list} \tcode{\{ }\placeholder{D}\tcode{ \}},
|
4762 | 4764 | where \placeholder{D} is the \grammarterm{designated-initializer-clause}
|
|
0 commit comments