Skip to content

Commit c6dc1e6

Browse files
jensmaurertkoeppe
authored andcommitted
[meta.reflection.queries] Fix typo in comment in example
Fixes NB US 96-206 (C++26 CD).
1 parent f5c6e4e commit c6dc1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/meta.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,7 @@
40394039
static_assert(^^x != ^^y); // OK, \tcode{x} and \tcode{y} are different variables,
40404040
// so their reflections compare different
40414041
static_assert(constant_of(^^x) ==
4042-
constant_of(^^y)); // OK, both \tcode{constant_of(x)} and
4042+
constant_of(^^y)); // OK, both \tcode{constant_of(\reflexpr{x})} and
40434043
// \tcode{constant_of(\reflexpr{y})} represent the value \tcode{0}
40444044
static_assert(constant_of(^^x) ==
40454045
reflect_constant(0)); // OK, likewise

0 commit comments

Comments
 (0)