From 7752258ca3f09d9e1f412e872794c639f1323ffe Mon Sep 17 00:00:00 2001 From: Andreas Krug <153394595+Andreas-Krug@users.noreply.github.com> Date: Wed, 12 Aug 2026 10:15:34 +0200 Subject: [PATCH] [basic.def.odr] Add \grammarterm for lambda-expression --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index b25702a164..516161eaaa 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -638,7 +638,7 @@ \begin{example} \begin{codeblock} void f(int n) { - [] { n = 1; }; // error: \tcode{n} is not odr-usable due to intervening lambda-expression + [] { n = 1; }; // error: \tcode{n} is not odr-usable due to intervening \grammarterm{lambda-expression} struct A { void f() { n = 2; } // error: \tcode{n} is not odr-usable due to intervening function parameter scope };