libycxx

function object

std::execution::unstoppable

Scope
std::execution
cppreference
<execution> nearest page

Synopsis

inline constexpr /* implementation-defined */ unstoppable = {};

Call signatures

unstoppable is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<std::execution::sender Sndr>
    constexpr auto unstoppable(
        Sndr&& sndr) noexcept(noexcept(write_env_t()(static_cast<Sndr &&>(sndr), (std::execution::prop<std::get_stop_token_t, unwrap_reference_t<std::never_stop_token>>)(std::get_stop_token, std::never_stop_token{}))));
    (1)