asio C++ library

PrevUpHomeNext

execution::allocator_t

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
Member Functions

Name

Description

allocator_t

Default constructor.

value

Obtain the allocator stored in the allocator_t property object.

Data Members

Name

Description

is_applicable_property_v

The allocator_t property applies to executors, senders, and schedulers.

is_preferable

The allocator_t property can be preferred.

is_requirable

The allocator_t property can be required.

Requirements

Header: asio/execution/allocator.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext