| 222 | template <typename Executor, |
| 223 | ASIO_COMPLETION_TOKEN_FOR(void()) CompletionToken> |
| 224 | ASIO_INITFN_AUTO_RESULT_TYPE(CompletionToken, void()) dispatch( |
| 225 | const Executor& ex, ASIO_MOVE_ARG(CompletionToken) token, |
| 226 | typename constraint< |
| 227 | execution::is_executor<Executor>::value || is_executor<Executor>::value |
| 228 | >::type) |
| 229 | { |
| 230 | return async_initiate<CompletionToken, void()>( |
| 231 | detail::initiate_dispatch_with_executor<Executor>(ex), token); |
| 232 | } |
| 233 | |
| 234 | template <typename ExecutionContext, |
| 235 | ASIO_COMPLETION_TOKEN_FOR(void()) CompletionToken> |
no test coverage detected