asio C++ library

PrevUpHomeNext

wrap (1 of 2 overloads)

Associate an object of type T with an executor of type Executor.

template<
    typename Executor,
    typename T>
executor_wrapper< typename decay< T >::type, Executor > wrap(
    const Executor & ex,
    T && t,
    typename enable_if< is_executor< Executor >::value >::type *  = 0);

PrevUpHomeNext