![]() |
template< typename Allocator = std::allocator<void>> struct use_promise_t
|
Name |
Description |
|---|---|
|
The allocator type. The allocator is used when constructing the promise object for a given asynchronous operation. |
|
|
Adapts an executor to add the use_promise_t completion token as the default. |
|
Name |
Description |
|---|---|
|
as_default_on [static] |
Function helper to adapt an I/O object to use use_promise_t as its default completion token type. |
|
Obtain allocator. |
|
|
Specify an alternate allocator. |
|
|
use_promise_t [constructor] |
Construct using default-constructed allocator. |
Header: asio/experimental/use_promise.hpp
Convenience header: None