Skip to content

Commit dc9b135

Browse files
eisenwavetkoeppe
authored andcommitted
CWG3097 Lambda expression introduces a scope
Fixes NB AT 4-099 (C++26 CD).
1 parent 1968418 commit dc9b135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/basic.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,8 @@
954954
declaration,
955955
\grammarterm{parameter-declaration-clause},
956956
\grammarterm{statement},
957-
\grammarterm{handler}, or
957+
\grammarterm{handler},
958+
\grammarterm{lambda-expression}, or
958959
contract assertion
959960
(as described in the following subclauses of \ref{basic.scope})
960961
appearing in another scope, which thereby contains $S$.

0 commit comments

Comments
 (0)