A property to describe which allocator an executor will use to allocate the memory required to store a submitted function object.
template< typename ProtoAllocator> struct allocator_t
Name |
Description |
---|---|
Default constructor. |
|
Obtain the allocator stored in the allocator_t property object. |
Name |
Description |
---|---|
The allocator_t property applies to executors, senders, and schedulers. |
|
The allocator_t property can be preferred. |
|
The allocator_t property can be required. |
Header: asio/execution/allocator.hpp
Convenience header: asio/execution.hpp