Files
cppdraft_translate/cppdraft/exec/set/stopped.md
2025-10-25 03:02:53 +03:00

21 lines
740 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[exec.set.stopped]
# 33 Execution control library [[exec]](./#exec)
## 33.7 Receivers [[exec.recv]](exec.recv#exec.set.stopped)
### 33.7.4 execution::set_stopped [exec.set.stopped]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L1260)
set_stopped is a stopped completion function ([[exec.async.ops]](exec.async.ops "33.3Asynchronous operations"))[.](#1.sentence-1)
Its associated completion tag is set_stopped_t[.](#1.sentence-2)
The expression set_stopped(rcvr) for a subexpression rcvr is ill-formed
if rcvr is an lvalue or an rvalue of const type[.](#1.sentence-3)
Otherwise, it is expression-equivalent to*MANDATE-NOTHROW*(rcvr.set_stopped())[.](#1.sentence-4)