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

22 lines
764 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.value]
# 33 Execution control library [[exec]](./#exec)
## 33.7 Receivers [[exec.recv]](exec.recv#exec.set.value)
### 33.7.2 execution::set_value [exec.set.value]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L1237)
set_value is a value completion function ([[exec.async.ops]](exec.async.ops "33.3Asynchronous operations"))[.](#1.sentence-1)
Its associated completion tag is set_value_t[.](#1.sentence-2)
The expression set_value(rcvr, vs...) for a subexpression rcvr and
pack of subexpressions vs 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_value(vs...))[.](#1.sentence-4)