Skip to content

Commit 5824505

Browse files
cpplearnertkoeppe
authored andcommitted
[dcl.init.list] Fix misuses of \grammarterm. (#1550)
1 parent aeb02d3 commit 5824505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3729,7 +3729,7 @@
37293729
\indextext{initialization!list-initialization|(}
37303730

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

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

0 commit comments

Comments
 (0)