From 29bbbf6c429a2be689b3a87e28b650aa4df87756 Mon Sep 17 00:00:00 2001 From: Andreas Krug <153394595+Andreas-Krug@users.noreply.github.com> Date: Sun, 12 Apr 2026 19:01:32 +0200 Subject: [PATCH] [intro.object] Add \tcode for arr in comment --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index 7aac6e400e..5f897bccf3 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -3744,7 +3744,7 @@ constexpr A v2{.i=1}; // OK, the constituent values are \tcode{\{v2.i\}} constexpr A v3 = []{ A a; - std::start_lifetime(a.arr); // OK, arr is now the active element of the union + std::start_lifetime(a.arr); // OK, \tcode{arr} is now the active element of the union new (&a.arr[1]) int(1); a.arr[2] = 2; return a;