Skip to content

Commit bb407ab

Browse files
author
Dawn Perchik
committed
LWG2590 Aggregate initialization for std::array
1 parent 76ab1cf commit bb407ab

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/containers.tex

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,12 +2590,7 @@
25902590
\indextext{\idxcode{array}!initialization}%
25912591
\indextext{\idxcode{array}!as aggregate}%
25922592
An \tcode{array} is an aggregate~(\ref{dcl.init.aggr}) that can be
2593-
initialized with the syntax
2594-
\begin{codeblock}
2595-
array<T, N> a = { @\textit{initializer-list}@ };
2596-
\end{codeblock}
2597-
2598-
where \textit{initializer-list} is a comma-separated list of up
2593+
list-initialized with up
25992594
to \tcode{N} elements whose types are convertible to \tcode{T}.
26002595

26012596
\pnum

0 commit comments

Comments
 (0)