From 66896cf785eaa384a078ffaaa6bdcc653d1b9a67 Mon Sep 17 00:00:00 2001 From: Mauro Russo Date: Wed, 27 Nov 2024 22:12:10 +0100 Subject: [PATCH] Avoid incorrect sentence parsing option on types Signed-off-by: Mauro Russo --- source/declarations.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/declarations.tex b/source/declarations.tex index b3122d3db8..8121d62d18 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -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}.