From a32818664081e01d21b9ad4dd9f02c0a00b64cfd Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Thu, 7 Nov 2024 10:59:18 -0500 Subject: [PATCH] [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." --- source/expressions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/expressions.tex b/source/expressions.tex index ddc24217b3..6c3d165ce8 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -5437,7 +5437,7 @@ \indextext{\idxcode{co_await}}% \pnum -The \keyword{co_await} expression is used to suspend evaluation of a +The \keyword{co_await} expression is used to \defnx{suspend}{suspend a coroutine} evaluation of a coroutine\iref{dcl.fct.def.coroutine} while awaiting completion of the computation represented by the operand expression. Suspending the evaluation of a coroutine