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
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
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...
Header: boost/asio/inline_or_executor.hpp
Convenience header: boost/asio.hpp