![]() |
Specify
as_single_t as the default
completion token type.
typedef as_single_t default_completion_token_type;
|
Name |
Description |
|---|---|
|
Tag type used to prevent the "default" constructor from being used for conversions. |
|
|
Adapts an executor to add the as_single_t completion token as the default. |
|
Name |
Description |
|---|---|
|
as_default_on [static] |
Function helper to adapt an I/O object to use as_single_t as its default completion token type. |
|
as_single_t [constructor] |
Default constructor. |
|
Name |
Description |
|---|---|
The experimental::as_single_t class is used to indicate
that any arguments to the completion handler should be combined and passed
as a single argument. If there is already one argument, that argument is
passed as-is. If there is more than argument, the arguments are first moved
into a std::tuple and that tuple is then passed to
the completion handler.
Header: asio/experimental/as_single.hpp
Convenience header: None