Skip to content

Commit 16e30c2

Browse files
committed
[dcl.init.list] Eliminate a case of "specialization of X<Y>"
This and #6257 are the only instance of this solecism.
1 parent 1cb3842 commit 16e30c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5984,7 +5984,7 @@
59845984
\item Otherwise, if the initializer list has no elements and \tcode{T} is a class type with a
59855985
default constructor, the object is value-initialized.
59865986

5987-
\item Otherwise, if \tcode{T} is a specialization of \tcode{std::initializer_list<E>},
5987+
\item Otherwise, if \tcode{T} is a specialization of \tcode{std::initializer_list},
59885988
the object is constructed as described below.
59895989

59905990
\item Otherwise, if \tcode{T} is a class type, constructors are considered.

0 commit comments

Comments
 (0)