Skip to content

Commit 74d1e7a

Browse files
committed
CWG1973 Which parameter-declaration-clause in a lambda-expression?
1 parent ef43fb3 commit 74d1e7a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/expressions.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,10 +1803,10 @@
18031803
\end{note}
18041804

18051805
\pnum
1806-
If a \grammarterm{lambda-declarator} does not include
1807-
a \grammarterm{parameter-declaration-clause},
1808-
it is as if \tcode{()} were inserted
1809-
at the start of the \grammarterm{lambda-declarator}.
1806+
A \grammarterm{lambda-expression}{'s} \grammarterm{parameter-declaration-clause}
1807+
is the \grammarterm{parameter-declaration-clause} of
1808+
the \grammarterm{lambda-expression}{'s} \grammarterm{lambda-declarator}, if any,
1809+
or empty otherwise.
18101810
If the \grammarterm{lambda-declarator}
18111811
does not include a \grammarterm{trailing-return-type},
18121812
it is considered to be \tcode{-> \keyword{auto}}.
@@ -1873,7 +1873,7 @@
18731873
inline function call operator (for a non-generic lambda) or
18741874
function call operator template (for a generic lambda)\iref{over.call}
18751875
whose parameters and return type
1876-
are described by the \grammarterm{lambda-expression}'s
1876+
are those of the \grammarterm{lambda-expression}{'s}
18771877
\grammarterm{parameter-declaration-clause} and \grammarterm{trailing-return-type}
18781878
respectively, and whose
18791879
\grammarterm{template-parameter-list} consists of

0 commit comments

Comments
 (0)