asio C++ library

PrevUpHomeNext

packaged_handler

A packaged_task with an associated allocator.

template<
    typename Signature,
    typename Allocator>
class packaged_handler
Types

Name

Description

allocator_type

The allocator type. The allocator is used when constructing the std::promise object for a given asynchronous operation.

Member Functions

Name

Description

get_allocator

Obtain allocator.

packaged_handler

Construct from a packaged token.

Move construct from another packaged handler.

Requirements

Header: asio/package.hpp

Convenience header: None


PrevUpHomeNext