libycxx

concept

std::execution::receiver

Scope
std::execution
cppreference
<execution> nearest page

Synopsis

template<class Rcvr>
concept receiver = derived_from<typename remove_cvref_t<Rcvr>::receiver_concept, receiver_tag> &&
                   requires(const remove_cvref_t<Rcvr>& rcvr) {
                     { get_env(rcvr) } -> queryable;
                   } && move_constructible<remove_cvref_t<Rcvr>> && constructible_from<remove_cvref_t<Rcvr>, Rcvr> &&
                   is_nothrow_move_constructible_v<remove_cvref_t<Rcvr>>;