| 270 | |
| 271 | template <typename Function, typename Handler> |
| 272 | void dispatch(Function& function, Handler& handler) |
| 273 | { |
| 274 | executor_.dispatch(ASIO_MOVE_CAST(Function)(function), |
| 275 | asio::get_associated_allocator(handler)); |
| 276 | } |
| 277 | |
| 278 | private: |
| 279 | Executor executor_; |