Skip to content

Commit 50930e2

Browse files
authored
[meta.reflection.queries]/4.3 Fix syntax in example (#8152)
A misapplication of P2996R13.
1 parent 51a5bba commit 50930e2

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
@@ -3984,7 +3984,7 @@
39843984

39853985
static_assert(^^x != ^^y); // OK, \tcode{r} and \tcode{y} are different variables so their
39863986
// reflections compare different
3987-
static_assert(object_of((^^x) == object_of(^^y))); // OK, because \tcode{y} is a reference
3987+
static_assert(object_of(^^x) == object_of(^^y)); // OK, because \tcode{y} is a reference
39883988
// to \tcode{x}, their underlying objects are the same
39893989
\end{codeblock}
39903990
\end{example}

0 commit comments

Comments
 (0)