...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Polymorphic executor type for use with I/O objects.
class any_io_executor : public execution::any_executor< SupportableProperties >
Name |
Description |
---|---|
any_io_executor [constructor] |
Default constructor. |
Obtain the underlying execution context. |
|
Execute the function on the target executor. |
|
Determine whether the wrapper has a target executor. |
|
Assignment operator. |
|
Obtain a polymorphic wrapper with the specified property. |
|
Obtain the value associated with the specified property. |
|
Obtain a polymorphic wrapper with the specified property. |
|
Swap targets with another polymorphic wrapper. |
|
Get a pointer to the target executor. |
|
Get the type of the target executor. |
|
~any_io_executor [destructor] |
Destructor. |
Name |
Description |
---|---|
Inequality operator. |
|
Equality operator. |
The any_io_executor
type
is a polymorphic executor that supports the set of properties required by
I/O objects. It is defined as the execution::any_executor
class template parameterised
as follows:
execution::any_executor< execution::context_as_t<execution_context&>, execution::blocking_t::never_t, execution::prefer_only<execution::blocking_t::possibly_t>, execution::prefer_only<execution::outstanding_work_t::tracked_t>, execution::prefer_only<execution::outstanding_work_t::untracked_t>, execution::prefer_only<execution::relationship_t::fork_t>, execution::prefer_only<execution::relationship_t::continuation_t> >
Header: boost/asio/any_io_executor.hpp
Convenience header: boost/asio.hpp