Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

inline_or

The inline_or function creates an inline_or_executor object for an executor or execution context.

Create an inline_or_executor object for an executor.

template<
    typename Executor>
inline_or_executor< Executor > inline_or(
    const Executor & ex,
    constraint_t< is_executor< Executor >::value||execution::is_executor< Executor >::value >  = 0);
  » more...

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);
  » more...
Requirements

Header: boost/asio/inline_or_executor.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext