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

make_work_guard (2 of 5 overloads)
PrevUpHomeNext

Create an executor_work_guard object.

template<
    typename ExecutionContext>
executor_work_guard< typename ExecutionContext::executor_type > make_work_guard(
    ExecutionContext & ctx,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);

PrevUpHomeNext