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

executor_binder

A call wrapper type to bind an executor of type Executor to an object of type T.

template<
    typename T,
    typename Executor>
class executor_binder
Types

Name

Description

argument_type

The type of the function's argument.

executor_type

The type of the associated executor.

first_argument_type

The type of the function's first argument.

result_type

The return type if a function.

second_argument_type

The type of the function's second argument.

target_type

The type of the target object.

Member Functions

Name

Description

executor_binder [constructor]

Construct an executor wrapper for the specified object.

Copy constructor.

Construct a copy, but specify a different executor.

Construct a copy of a different executor wrapper type.

Construct a copy of a different executor wrapper type, but specify a different executor.

Move constructor.

Move construct the target object, but specify a different executor.

Move construct from a different executor wrapper type.

Move construct from a different executor wrapper type, but specify a different executor.

get

Obtain a reference to the target object.

get_executor

Obtain the associated executor.

operator()

~executor_binder [destructor]

Destructor.

Requirements

Header: boost/asio/bind_executor.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext