Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

execution_context::allocator
PrevUpHomeNext

template<
    typename T>
class allocator
Types

Name

Description

rebind

Rebinds an allocator to another value type.

value_type

The type of objects that may be allocated by the allocator.

Member Functions

Name

Description

allocate

Allocate space for n objects of the allocator's value type.

allocator [constructor]

Construct an allocator that is associated with an execution context.

Construct from another allocator for a different value type.

deallocate

Deallocate space for n objects of the allocator's value type.

operator!=

Inequality operator.

operator==

Equality operator.

Requirements

Header: boost/asio/execution_context.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext