Adapts an executor to add the use_promise_t
completion token as the default.
template< typename InnerExecutor> struct executor_with_default
Name |
Description |
---|---|
Specify use_promise_t as the default completion token type. |
Name |
Description |
---|---|
executor_with_default [constructor] |
Construct the adapted executor from the inner executor type. |
Header: asio/experimental/use_promise.hpp
Convenience header: None