Skip to content

Commit

Permalink
Avoid ambiguity of placeholder on nested parameter
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 e589a2a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,8 @@
\opt{\grammarterm{type-constraint}} \keyword{auto}.
The placeholder type shall appear
as one of the \grammarterm{decl-specifier}{s} in
the \grammarterm{decl-specifier-seq} or
the \grammarterm{decl-specifier-seq} or,
in case of function pointer type,
as one of the \grammarterm{type-specifier}{s} in
a \grammarterm{trailing-return-type}
that specifies the type that replaces such
Expand Down Expand Up @@ -1817,7 +1818,7 @@
in an initializing declaration\iref{dcl.init} of a variable.
The placeholder type shall appear as one of the
\grammarterm{decl-specifier}{s} in the \grammarterm{decl-specifier-seq}
or as one of the
or, in case of function pointer type, as one of the
\grammarterm{type-specifier}{s} in a \grammarterm{trailing-return-type}
that specifies the type that replaces such a \grammarterm{decl-specifier};
the \grammarterm{decl-specifier-seq}
Expand Down

0 comments on commit e589a2a

Please sign in to comment.