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