Skip to content

Commit 1e66edb

Browse files
Eeliszygoloid
authored andcommitted
[dcl.decl, temp.deduct.type] Fix inappropriate uses of \grammarterm.
1 parent 1eb7c1f commit 1e66edb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

source/declarators.tex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@
20692069

20702070
\pnum
20712071
In the \grammarterm{function-body}, a
2072-
\grammarterm{function-local predefined variable} denotes a block-scope object of static
2072+
\defnx{function-local predefined variable}{variable!function-local predefined} denotes a block-scope object of static
20732073
storage duration that is implicitly defined (see~\ref{basic.scope.block}).
20742074

20752075
\pnum
@@ -2096,14 +2096,13 @@
20962096
\end{example}
20972097

20982098
\rSec2[dcl.fct.def.default]{Explicitly-defaulted functions}%
2099-
\indextext{definition!function!explicitly-defaulted}%
21002099

21012100
\pnum
21022101
A function definition whose
21032102
\grammarterm{function-body}
21042103
is of the form
21052104
\tcode{= default ;}
2106-
is called an \grammarterm{explicitly-defaulted} definition.
2105+
is called an \defnx{explicitly-defaulted}{definition!function!explicitly-defaulted} definition.
21072106
A function that is explicitly defaulted shall
21082107

21092108
\begin{itemize}

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8101,7 +8101,7 @@
81018101
T*
81028102
T&
81038103
T&&
8104-
T[@\grammarterm{integer-constant}@]
8104+
T[@\placeholder{integer-constant}@]
81058105
@\grammarterm{template-name}@<T> @\textrm{(where \tcode{\grammarterm{template-name}} refers to a class template)}@
81068106
@\placeholder{type}@(T)
81078107
T()

0 commit comments

Comments
 (0)