Skip to content

Commit 00650b8

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 4fac9f9 commit 00650b8

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
@@ -5787,7 +5787,7 @@
57875787
\item Otherwise, if the initializer list has no elements and \tcode{T} is a class type with a
57885788
default constructor, the object is value-initialized.
57895789

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

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

0 commit comments

Comments
 (0)