Skip to content

Commit e2fb7e3

Browse files
burblebeetkoeppe
authored andcommitted
CWG2685 Aggregate CTAD, string, and brace elision
1 parent 9fa6c9e commit e2fb7e3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/overloading.tex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,8 +1241,12 @@
12411241
\begin{itemize}
12421242
\item
12431243
brace elision is not considered for any aggregate element
1244-
that has a dependent non-array type or
1245-
an array type with a value-dependent bound, and
1244+
that has
1245+
\begin{itemize}
1246+
\item a dependent non-array type,
1247+
\item an array type with a value-dependent bound, or
1248+
\item an array type with a dependent array element type and $x_i$ is a string literal; and
1249+
\end{itemize}
12461250
\item
12471251
each non-trailing aggregate element that is a pack expansion
12481252
is assumed to correspond to no elements of the initializer list, and

0 commit comments

Comments
 (0)