Skip to content

Commit 99031a1

Browse files
jensmaurerzygoloid
authored andcommitted
Fix some more inappropriate \grammarterm uses.
1 parent c479bf0 commit 99031a1

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

source/basic.tex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4365,13 +4365,12 @@
43654365
\pnum
43664366
\indextext{alignment!extended}%
43674367
\indextext{alignment!new-extended}%
4368-
\indextext{over-aligned type}%
4369-
\indextext{type!over-aligned}%
4368+
\indextext{over-aligned type|see{type, over-aligned}}%
43704369
An \defn{extended alignment} is represented by an alignment
43714370
greater than \tcode{alignof(std::max_align_t)}. It is \impldef{support for extended alignments}
43724371
whether any extended alignments are supported and the contexts in which they are
43734372
supported~(\ref{dcl.align}). A type having an extended alignment
4374-
requirement is an \grammarterm{over-aligned type}. \begin{note}
4373+
requirement is an \defnx{over-aligned type}{type!over-aligned}. \begin{note}
43754374
Every over-aligned type is or contains a class type
43764375
to which extended alignment applies (possibly through a non-static data member).
43774376
\end{note}

source/derived.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@
228228
\pnum
229229
\indextext{base class!virtual}%
230230
A base class specifier that does not contain the keyword
231-
\tcode{virtual}, specifies a \grammarterm{non-virtual} base class. A base
232-
class specifier that contains the keyword \tcode{virtual}, specifies a
233-
\term{virtual} base class. For each distinct occurrence of a
231+
\tcode{virtual} specifies a \defnx{non-virtual base class}{base class!non-virtual}. A base
232+
class specifier that contains the keyword \tcode{virtual} specifies a
233+
\defnx{virtual base class}{base class!virtual}. For each distinct occurrence of a
234234
non-virtual base class in the class lattice of the most derived class,
235235
the most derived object~(\ref{intro.object}) shall contain a
236236
corresponding distinct base class subobject of that type. For each

source/overloading.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
\indextext{function, overloaded|see{overloading}}%
1111
When two or more different declarations are specified for a single name
1212
in the same scope, that name is said to be
13-
\grammarterm{overloaded}.
13+
\defnx{overloaded}{overloading}.
1414
By extension, two declarations in the same scope that declare the same name
1515
but with different types are called
1616
\term{overloaded declarations}.

source/special.tex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213

214214
\pnum
215215
A default constructor is
216-
trivial
216+
\defnx{trivial}{constructor!default!trivial}
217217
if it is not user-provided and if:
218218

219219
\begin{itemize}
@@ -233,7 +233,7 @@
233233
\end{itemize}
234234

235235
Otherwise, the default constructor is
236-
\grammarterm{non-trivial}.
236+
\defnx{non-trivial}{constructor!default!non-trivial}.
237237

238238
\pnum
239239
\indextext{constructor!implicitly defined}%
@@ -1006,7 +1006,6 @@
10061006
\pnum
10071007
\indextext{generated destructor|see{destructor, default}}%
10081008
\indextext{destructor!default}%
1009-
\indextext{destructor!non-trivial}%
10101009
If a class has no user-declared
10111010
destructor, a destructor is implicitly
10121011
declared as defaulted~(\ref{dcl.fct.def}).
@@ -1045,7 +1044,7 @@
10451044
\end{itemize}
10461045

10471046
Otherwise, the destructor is
1048-
\grammarterm{non-trivial}.
1047+
\defnx{non-trivial}{destructor!non-trivial}.
10491048

10501049
\pnum
10511050
\indextext{destructor!implicitly defined}%
@@ -2672,8 +2671,9 @@
26722671
the constructor selected to copy/move that member is trivial;
26732672
\end{itemize}
26742673

2674+
\indextext{constructor!move!non-trivial}%
26752675
otherwise the copy/move constructor is
2676-
\grammarterm{non-trivial}.
2676+
\defnx{non-trivial}{constructor!copy!nontrivial}.
26772677

26782678
\pnum
26792679
\indextext{constructor!copy!implicitly defined}%
@@ -2989,8 +2989,9 @@
29892989
the assignment operator selected to copy/move that member is trivial;
29902990
\end{itemize}
29912991

2992+
\indextext{assignment operator!move!non-trivial}%
29922993
otherwise the copy/move assignment operator is
2993-
\grammarterm{non-trivial}.
2994+
\defnx{non-trivial}{assignment operator!copy!non-trivial}.
29942995

29952996
\pnum
29962997
\indextext{assignment operator!copy!implicitly defined}%

source/templates.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@
217217
and template
218218
\grammarterm{template-argument}{s}
219219
are treated as types for descriptive purposes, the terms
220-
\grammarterm{non-type parameter}
220+
\term{non-type parameter}
221221
and
222-
\grammarterm{non-type argument}
222+
\term{non-type argument}
223223
are used to refer to non-type, non-template parameters and arguments.}
224224
\grammarterm{parameter-declaration}.
225225
A \grammarterm{template-parameter} of the form

0 commit comments

Comments
 (0)