function object
std::execution::write_env
- Header
<execution>- Draft
- [execution.syn]
- Scope
std::execution- cppreference
- <execution> nearest page
Synopsis
inline constexpr /* implementation-defined */ write_env = {};Call signatures
write_env is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class Sndr, class Env> requires std::execution::sender<Sndr> && queryable<std::decay_t<Env>> constexpr auto write_env( Sndr&& sndr, Env&& env) noexcept(noexcept(make-sender(write_env_t(), static_cast<Env &&>(env), static_cast<Sndr &&>(sndr))));