Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards


get_associated_executor (2 of 3 overloads)

Helper function to obtain an object's associated executor.

    typename T,
    typename Executor>
auto get_associated_executor(
    const T & t,
    const Executor & ex,
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
Return Value

associated_executor<T, Executor>::get(t, ex)