| 218 | |
| 219 | template<class F, class Alloc> |
| 220 | void |
| 221 | dispatch(F&& f, Alloc const& a) |
| 222 | { |
| 223 | s_.on_invoke(); |
| 224 | net::prefer(ex_, |
| 225 | net::execution::blocking.possibly, |
| 226 | net::execution::allocator(a)).execute(std::forward<F>(f)); |
| 227 | // previously equivalent to |
| 228 | // ex_.dispatch(std::forward<F>(f), a); |
| 229 | } |
| 230 | |
| 231 | template<class F, class Alloc> |
| 232 | void |