[exec.set.stopped] (original) (raw)

33 Execution control library [exec]

33.7 Receivers [exec.recv]

33.7.4 execution​::​set_stopped [exec.set.stopped]

1

#

set_stopped is a stopped completion function ([exec.async.ops]).

Its associated completion tag is set_stopped_t.

The expression set_stopped(rcvr)for a subexpression rcvr is ill-formed if rcvr is an lvalue or an rvalue of const type.

Otherwise, it is expression-equivalent to_MANDATE-NOTHROW_(rcvr.set_stopped()).