Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

use_awaitable_t::executor_with_default

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

template<
    typename InnerExecutor>
struct executor_with_default :
  public InnerExecutor
Types

Name

Description

default_completion_token_type

Specify use_awaitable_t as the default completion token type.

Member Functions

Name

Description

executor_with_default [constructor]

Construct the adapted executor from the inner executor type.

Requirements

Header: boost/asio/use_awaitable.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext