A call wrapper type to associate an object of type T
with an executor of type Executor
.
template< typename T, typename Executor> class executor_wrapper
Name |
Description |
---|---|
The type of the function's argument. |
|
The type of the associated executor. |
|
The type of the function's first argument. |
|
The return type if a function. |
|
The type of the function's second argument. |
|
The type of the wrapped object. |
Name |
Description |
---|---|
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 wrapped 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. |
|
Obtain the associated executor. |
|
Obtain a reference to the wrapped object. |
|
Destructor. |
Header: asio/wrap.hpp
Convenience header: asio.hpp