Skip to content

Commit

Permalink
Avoid incorrect sentence parsing option on types
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Russo <[email protected]>
  • Loading branch information
mrussoLuxoft committed Nov 27, 2024
1 parent d017ce4 commit 66896cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1770,10 +1770,11 @@
from an initializer.

\pnum
The type of a \grammarterm{parameter-declaration} of a
function declaration\iref{dcl.fct},
The type of a \grammarterm{parameter-declaration} of
any of the following three:
a function declaration\iref{dcl.fct},
\grammarterm{lambda-expression}\iref{expr.prim.lambda}, or
\grammarterm{template-parameter}\iref{temp.param}
\grammarterm{template-parameter}\iref{temp.param},
can be declared using
a \grammarterm{placeholder-type-specifier} of the form
\opt{\grammarterm{type-constraint}} \keyword{auto}.
Expand Down

0 comments on commit 66896cf

Please sign in to comment.