A packaged_task with an associated allocator.
template< typename Signature, typename Allocator> class packaged_handler
Name |
Description |
---|---|
The allocator type. The allocator is used when constructing the std::promise object for a given asynchronous operation. |
Name |
Description |
---|---|
Obtain allocator. |
|
Construct from a packaged token. Move construct from another packaged handler. |
Header: asio/package.hpp
Convenience header: None