Files
2025-10-25 03:02:53 +03:00

764 B
Raw Permalink Blame History

[exec.set.value]

33 Execution control library [exec]

33.7 Receivers [exec.recv]

33.7.2 execution::set_value [exec.set.value]

1

#

set_value is a value completion function ([exec.async.ops]).

Its associated completion tag is set_value_t.

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.

Otherwise, it is expression-equivalent toMANDATE-NOTHROW(rcvr.set_value(vs...)).