Skip to content

Commit b5d3b3c

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Use more \defnadj
1 parent e43aa89 commit b5d3b3c

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

source/basic.tex

+1-2
Original file line numberDiff line numberDiff line change
@@ -3816,7 +3816,6 @@
38163816
\rSec3[basic.stc.static]{Static storage duration}
38173817

38183818
\pnum
3819-
\indextext{storage duration!static}%
38203819
All variables which
38213820
\begin{itemize}
38223821
\item
@@ -3826,7 +3825,7 @@
38263825
are first declared with
38273826
the \keyword{static} or \keyword{extern} keywords\iref{dcl.stc}
38283827
\end{itemize}
3829-
have \defn{static storage duration}.
3828+
have \defnadj{static}{storage duration}.
38303829
The storage for these entities lasts for the duration of the
38313830
program\iref{basic.start.static,basic.start.term}.
38323831

source/classes.tex

+2-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
a partial specialization\iref{temp.spec.partial}.
6464
A \grammarterm{class-specifier} whose
6565
\grammarterm{class-head} omits the
66-
\grammarterm{class-head-name} defines an unnamed class.
66+
\grammarterm{class-head-name} defines an \defnadj{unnamed}{class}.
6767
\begin{note}
6868
An unnamed class thus can't
6969
be \tcode{final}.
@@ -2779,9 +2779,8 @@
27792779
\end{note}
27802780

27812781
\pnum
2782-
\indextext{bit-field!unnamed}%
27832782
A declaration for a bit-field that omits the \grammarterm{identifier}
2784-
declares an \defn{unnamed bit-field}. Unnamed bit-fields are not
2783+
declares an \defnadj{unnamed}{bit-field}. Unnamed bit-fields are not
27852784
members and cannot be initialized.
27862785
An unnamed bit-field shall not be declared with a cv-qualified type.
27872786
\begin{note}

source/statements.tex

+1-2
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,9 @@
187187
\indextext{side effects}%
188188
side effects from an expression statement
189189
are completed before the next statement is executed.
190-
\indextext{statement!null}%
191190
\indextext{statement!empty}%
192191
An expression statement with the expression missing is called
193-
a \defn{null statement}.
192+
a \defnadj{null}{statement}.
194193
\begin{note}
195194
Most statements are expression statements --- usually assignments or
196195
function calls. A null statement is useful to supply a null body to an

0 commit comments

Comments
 (0)