From f59767c8e9d9a6481068f34ec8ae6f234e57e8d8 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 280decc68f..3a5ff4f7d9 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -4874,7 +4874,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