asio C++ library

PrevUpHomeNext

experimental::use_promise_t::executor_with_default

Adapts an executor to add the use_promise_t completion token as the default.

template<
    typename InnerExecutor>
struct executor_with_default
Types

Name

Description

default_completion_token_type

Specify use_promise_t as the default completion token type.

Member Functions

Name

Description

executor_with_default [constructor]

Construct the adapted executor from the inner executor type.

Convert the specified executor to the inner executor type, then use that to construct the adapted executor.

Requirements

Header: asio/experimental/use_promise.hpp

Convenience header: None


PrevUpHomeNext