| 410 | |
| 411 | template <typename Function> |
| 412 | inline void spawn(ASIO_MOVE_ARG(Function) function, |
| 413 | const boost::coroutines::attributes& attributes) |
| 414 | { |
| 415 | typedef typename decay<Function>::type function_type; |
| 416 | |
| 417 | typename associated_executor<function_type>::type ex( |
| 418 | (get_associated_executor)(function)); |
| 419 | |
| 420 | asio::spawn(ex, ASIO_MOVE_CAST(Function)(function), attributes); |
| 421 | } |
| 422 | |
| 423 | template <typename Handler, typename Function> |
| 424 | void spawn(ASIO_MOVE_ARG(Handler) handler, |
nothing calls this directly
no test coverage detected