Skip to content

Commit be5c14c

Browse files
committed
[expr.prim.req.compound] Adjust description in example to be easier to understand.
1 parent 62caa27 commit be5c14c

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
@@ -1761,8 +1761,8 @@
17611761
\end{codeblock}
17621762
The \grammarterm{compound-requirement} in \tcode{C1}
17631763
requires that \tcode{x++} is a valid expression.
1764-
It is equivalent to a \grammarterm{simple-requirement}
1765-
with the same \grammarterm{expression}.
1764+
It is equivalent to the \grammarterm{simple-requirement}
1765+
\tcode{x++;}.
17661766

17671767
\begin{codeblock}
17681768
template<typename T> concept C2 = requires(T x) {

0 commit comments

Comments
 (0)