From 12457e8b1f4368230924e38991128f829fcb09b2 Mon Sep 17 00:00:00 2001 From: lprv <100177227+lprv@users.noreply.github.com> Date: Tue, 9 Dec 2025 16:56:12 +0000 Subject: [PATCH] [basic.def.odr] Fix comment in example --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index a78628ca87..33f6ed3b0c 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -532,7 +532,7 @@ int h(bool cond) { constexpr A a = {1}; constexpr const volatile A& r = a; // odr-uses \tcode{a} - int _ = f(cond ? a.x : r.x); // does not odr-use \tcode{a} or \tcode{r} + int _ = f(cond ? a.x : r.x); // odr-uses \tcode{a} but not \tcode{r} int x, y; constexpr B b1 = {x}, b2 = {y}; // odr-uses \tcode{x} and \tcode{y} int _ = g(cond ? b1.r : b2.r); // does not odr-use \tcode{b1} or \tcode{b2}