Boost C++ Libraries

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

PrevUpHomeNext

make_work_guard (1 of 5 overloads)

Create an executor_work_guard object.

template<
    typename Executor>
executor_work_guard< Executor > make_work_guard(
    const Executor & ex,
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
Parameters

ex

An executor.

Return Value

A work guard constructed with the specified executor.


PrevUpHomeNext