Skip to content

Commit

Permalink
[dcl.name] Turn informative wording into note (#3964)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian authored Nov 8, 2023
1 parent e9fb04e commit bc3cb41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2402,8 +2402,11 @@
\end{example}

\pnum
A type can also be named (often more easily) by using a
\tcode{typedef}\iref{dcl.typedef}.
\begin{note}
A type can also be named by a \grammarterm{typedef-name},
which is introduced by a typedef declaration
or \grammarterm{alias-declaration}\iref{dcl.typedef}.
\end{note}

\rSec2[dcl.ambig.res]{Ambiguity resolution}%
\indextext{ambiguity!declaration versus cast}%
Expand Down

0 comments on commit bc3cb41

Please sign in to comment.