Skip to content

Commit f59767c

Browse files
committed
[expr.await] Define 'suspend' as a term of power for coroutines
Many parts of the standard refer to whether a coroutine is suspended as if it were a term of power, but there is no \defn that defines it as such. Editorial review suggests this commit provides the best location to make the definition."
1 parent 5be40a6 commit f59767c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -4874,7 +4874,7 @@
48744874
\indextext{\idxcode{co_await}}%
48754875

48764876
\pnum
4877-
The \keyword{co_await} expression is used to suspend evaluation of a
4877+
The \keyword{co_await} expression is used to \defnx{suspend}{suspend a coroutine} evaluation of a
48784878
coroutine\iref{dcl.fct.def.coroutine} while awaiting completion of
48794879
the computation represented by the operand expression.
48804880
Suspending the evaluation of a coroutine

0 commit comments

Comments
 (0)