asio-tr2
asio-tr2 copied to clipboard
C++ TR2 proposal based on Asio
Need to make it match what is in doc/classes/execution_context.qbk
[[async.reqmts.async.return.type]](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0112r0.html#async.reqmts.async.return.type) defines DEDUCED as a type that depends on `Signature`, but then [[async.dispatch]](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0112r0.html#async.dispatch) doesn't specify a completion signature for the dispatch/post/defer overloads that use DEDUCED. It can be inferred to...
# Changes Since P0112R0 | Commit | Kind | Issue | Description | | --- | --- | --- | --- | | c06b8aeba14d669253239efebc8451df9c41a83b | Editorial | | Fix typo...
Rather than calling the get_executor() member directly. The ExecutionContext type requirements table should be updated to use `get_associated_executor(x)` rather than `x.get_executor()`. The requirement for having a nested typedef `executor_type` should...
Right now this does not work: ``` class foo { typedef XYZ executor_type; executor_type get_executor() noexcept; }; foo f; get_associated_executor(f); ``` because `get_associated_executor`, and `associated_executor::get()` take the first argument by...
Adding `class = void` to associated_allocator and associated_executor.
I can't see any wording that makes it explicit that trying to submit functions (or other similar operations) to a context that has been destroyed is undefined e.g. ``` io_context...
E.g. constructor of a service class A might perform use_service(...);