| 252 | |
| 253 | template <typename Function, typename Allocator> |
| 254 | void executor::dispatch(ASIO_MOVE_ARG(Function) f, |
| 255 | const Allocator& a) const |
| 256 | { |
| 257 | impl_base* i = get_impl(); |
| 258 | if (i->fast_dispatch_) |
| 259 | system_executor().dispatch(ASIO_MOVE_CAST(Function)(f), a); |
| 260 | else |
| 261 | i->dispatch(function(ASIO_MOVE_CAST(Function)(f), a)); |
| 262 | } |
| 263 | |
| 264 | template <typename Function, typename Allocator> |
| 265 | void executor::post(ASIO_MOVE_ARG(Function) f, |
no outgoing calls
no test coverage detected