Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

inline_or (2 of 2 overloads)

Create an inline_or_executor object for an execution context.

template<
    typename ExecutionContext>
inline_or_executor< typename ExecutionContext::executor_type > inline_or(
    ExecutionContext & ctx,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
Parameters

ctx

An execution context, from which an executor will be obtained.

Return Value

An inline_or_executor constructed with the execution context's executor, obtained by performing ctx.get_executor().


PrevUpHomeNext