asio C++ library

PrevUpHomeNext

experimental::as_single_t::as_default_on_t

Type alias to adapt an I/O object to use as_single_t as its default completion token type.

typedef typename T::template rebind_executor< executor_with_default< typename T::executor_type > >::other as_default_on_t;
Types

Name

Description

default_completion_token_type

Specify as_single_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/as_single.hpp

Convenience header: None


PrevUpHomeNext