Skip to content

Commit 02098b0

Browse files
committed
[meta.reflection.queries]/4.3 Fix syntax in example
The parenthesis in the example seem to do the wrong grouping. To fix, remove one set of parens. This brings the example in line with P2996R13 from which this wording originates.
1 parent 8fe775a commit 02098b0

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)