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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

make_work_guard (3 of 5 overloads)

Create an executor_work_guard object.

    typename T>
executor_work_guard< typename associated_executor< T >::type > make_work_guard(
    const T & t,
    typename enable_if< !is_executor< T >::value &&!execution::is_executor< T >::value &&!is_convertible< T &, execution_context & >::value >::type *  = 0);