Skip to content

[dcl.init.list] Fix misuses of \grammarterm. #1550

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

Merged
merged 1 commit into from
Mar 18, 2017
Merged
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/declarators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3729,7 +3729,7 @@
\indextext{initialization!list-initialization|(}

\pnum
\grammarterm{List-initialization} is initialization of an object or reference from a
\defnx{List-initialization}{list-initialization} is initialization of an object or reference from a
\grammarterm{braced-init-list}. Such an initializer is called an \term{initializer
list}, and the comma-separated \grammarterm{initializer-clause}{s} of the list are
called the \term{elements} of the initializer list. An initializer list may be empty.
Expand Down Expand Up @@ -3766,7 +3766,7 @@
\end{example} \end{note}

\pnum
A constructor is an \grammarterm{initializer-list constructor} if its first parameter is
A constructor is an \defn{initializer-list constructor} if its first parameter is
of type \tcode{std::initializer_list<E>} or reference to possibly cv-qualified
\tcode{std::initializer_list<E>} for some type \tcode{E}, and either there are no other
parameters or else all other parameters have default arguments (\ref{dcl.fct.default}).
Expand Down