Skip to content

Commit ca73d4f

Browse files
BekennJohelEGP
andcommitted
[expr.prim.lambda.general] Added missing definition for the term "lambda".
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
1 parent a27ede6 commit ca73d4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/expressions.tex

+4-3
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,9 @@
18431843
\end{example}
18441844

18451845
\pnum
1846-
A lambda is a \defn{generic lambda}
1847-
if the \grammarterm{lambda-expression}
1846+
A \grammarterm{lambda-expression} is a \defn{lambda}.
1847+
A lambda is \defnx{generic}{lambda!generic}
1848+
if the \grammarterm{parameter-declaration-clause}
18481849
has any generic parameter type placeholders\iref{dcl.spec.auto}, or
18491850
if the lambda has a \grammarterm{template-parameter-list}.
18501851
\begin{example}
@@ -2059,7 +2060,7 @@
20592060
\end{note}
20602061

20612062
\pnum
2062-
The closure type for a non-generic \grammarterm{lambda-expression} with no
2063+
The closure type for a non-generic lambda with no
20632064
\grammarterm{lambda-capture}
20642065
whose constraints (if any) are satisfied
20652066
has a conversion function to pointer to

0 commit comments

Comments
 (0)