Skip to content

Commit d9e46f6

Browse files
committed
[expr.reflect] Add missing \grammarterm, and add space in example
1 parent 10ced29 commit d9e46f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/expressions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6670,7 +6670,7 @@
66706670
\begin{codeblock}
66716671
static_assert(std::meta::is_type(^^int())); // \tcode{\caret\caret} applies to the type-id \tcode{int()}
66726672

6673-
template<bool>struct X {};
6673+
template<bool> struct X {};
66746674
consteval bool operator<(std::meta::info, X<false>) { return false; }
66756675
consteval void g(std::meta::info r, X<false> xv) {
66766676
r == ^^int && true; // error: \tcode{\caret\caret} applies to the \grammarterm{type-id} \tcode{int\&\&}
@@ -6692,7 +6692,7 @@
66926692
If a \grammarterm{reflect-expression} $R$ matches
66936693
the form \tcode{\caret\caret \grammarterm{reflection-name}},
66946694
it is interpreted as such;
6695-
the identifier is looked up and
6695+
the \grammarterm{identifier} is looked up and
66966696
the representation of $R$ is determined as follows:
66976697
\begin{itemize}
66986698
\item

0 commit comments

Comments
 (0)