From e589a2a62e37657aff605d4dc61a2a6406e9fb9a Mon Sep 17 00:00:00 2001 From: Mauro Russo Date: Wed, 27 Nov 2024 22:42:57 +0100 Subject: [PATCH] Avoid ambiguity of placeholder on nested parameter Signed-off-by: Mauro Russo --- source/declarations.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/declarations.tex b/source/declarations.tex index b3122d3db8..6444068960 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -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 @@ -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}