Skip to content
Merged
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
5 changes: 3 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@

\pnum
If the \grammarterm{decl-specifier-seq} contains the \keyword{typedef}
specifier, the declaration is a \defnx{typedef declaration}{declaration!typedef}
specifier, the declaration is a \defnx{typedef declaration}{declaration!\idxcode{typedef}}
and each \grammarterm{declarator-id}
is declared to be a \grammarterm{typedef-name}\iref{dcl.typedef}.
\begin{note}
Expand Down Expand Up @@ -740,6 +740,8 @@
\rSec2[dcl.typedef]{The \keyword{typedef} specifier}%
\indextext{specifier!\idxcode{typedef}}

\indextext{declaration!\idxcode{typedef}}%
\indextext{declaration!\idxcode{typedef}|see{alias, type}}%
\pnum
Declarations containing the \grammarterm{decl-specifier} \keyword{typedef}
declare \defnadjx{type}{aliases}{alias}.
Expand All @@ -764,7 +766,6 @@
The underlying entity of the type alias is
the type associated with the \grammarterm{identifier}\iref{dcl.decl}
or \grammarterm{simple-template-id}\iref{temp.pre}.
\indextext{declaration!typedef@\tcode{typedef} as type}%
\indextext{equivalence!type}%
A \grammarterm{typedef-name} does not introduce a new type the way a class
declaration\iref{class.name} or enum declaration\iref{dcl.enum} does.
Expand Down
Loading