Skip to content
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

[std] Use more \defnadj #6631

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3816,7 +3816,6 @@
\rSec3[basic.stc.static]{Static storage duration}

\pnum
\indextext{storage duration!static}%
All variables which
\begin{itemize}
\item
Expand All @@ -3826,7 +3825,7 @@
are first declared with
the \keyword{static} or \keyword{extern} keywords\iref{dcl.stc}
\end{itemize}
have \defn{static storage duration}.
have \defnadj{static}{storage duration}.
The storage for these entities lasts for the duration of the
program\iref{basic.start.static,basic.start.term}.

Expand Down
5 changes: 2 additions & 3 deletions source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
a partial specialization\iref{temp.spec.partial}.
A \grammarterm{class-specifier} whose
\grammarterm{class-head} omits the
\grammarterm{class-head-name} defines an unnamed class.
\grammarterm{class-head-name} defines an \defnadj{unnamed}{class}.
\begin{note}
An unnamed class thus can't
be \tcode{final}.
Expand Down Expand Up @@ -2779,9 +2779,8 @@
\end{note}

\pnum
\indextext{bit-field!unnamed}%
A declaration for a bit-field that omits the \grammarterm{identifier}
declares an \defn{unnamed bit-field}. Unnamed bit-fields are not
declares an \defnadj{unnamed}{bit-field}. Unnamed bit-fields are not
members and cannot be initialized.
An unnamed bit-field shall not be declared with a cv-qualified type.
\begin{note}
Expand Down
3 changes: 1 addition & 2 deletions source/statements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@
\indextext{side effects}%
side effects from an expression statement
are completed before the next statement is executed.
\indextext{statement!null}%
\indextext{statement!empty}%
An expression statement with the expression missing is called
a \defn{null statement}.
a \defnadj{null}{statement}.
\begin{note}
Most statements are expression statements --- usually assignments or
function calls. A null statement is useful to supply a null body to an
Expand Down