libycxx

concept

std::execution::scope_association

Scope
std::execution
cppreference
<execution> nearest page

Synopsis

template<class Assoc>
concept scope_association = movable<Assoc> && is_nothrow_move_constructible_v<Assoc> && is_nothrow_move_assignable_v<Assoc> &&
                            default_initializable<Assoc> && requires(const Assoc assoc) {
                              { static_cast<bool>(assoc) } noexcept;
                              { assoc.try_associate() } -> same_as<Assoc>;
                            };