Skip to content

Commit 7c74329

Browse files
burblebeetkoeppe
authored andcommitted
CWG2883 Definition of "odr-usable" ignores lambda scopes
1 parent 3d5d613 commit 7c74329

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/basic.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@
511511
either:
512512
\begin{itemize}
513513
\item the intervening scope is a block scope, or
514-
\item the intervening scope is the function parameter scope of a \grammarterm{lambda-expression}
514+
\item the intervening scope is the function parameter scope of a \grammarterm{lambda-expression}, or
515+
\item the intervening scope is the lambda scope of
516+
a \grammarterm{lambda-expression}
515517
that has a \grammarterm{simple-capture}
516518
naming the entity or has a \grammarterm{capture-default}, and
517519
the block scope of the \grammarterm{lambda-expression}

0 commit comments

Comments
 (0)