Skip to content

[dcl.init.list] Missing cv before T CWG2830 #3492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5509,7 +5509,7 @@
named\iref{dcl.spec.auto} --- the program is ill-formed.

\pnum
List-initialization of an object or reference of type \tcode{T} is defined as follows:
List-initialization of an object or reference of type \cvqual{cv} \tcode{T} is defined as follows:
\begin{itemize}
\item
If the \grammarterm{braced-init-list}
Expand All @@ -5531,7 +5531,7 @@
\end{example}

\item If \tcode{T} is an aggregate class and the initializer list has a single element
of type \cvqual{cv} \tcode{U},
of type \cvqual{cv1} \tcode{U},
where \tcode{U} is \tcode{T} or a class derived from \tcode{T},
the object is initialized from that element (by copy-initialization for
copy-list-initialization, or by direct-initialization for
Expand Down