Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

async_result< std::packaged_task< Result(Args...)>, Signature >::return_type

The return type of the initiating function is the future obtained from the packaged task.

typedef std::future< Result > return_type;
Types

Name

Description

container

Determine the container for the specified elements.

rebind

Rebind the traits to a new set of signatures.

receive_cancelled_signature

The signature of a channel cancellation notification.

receive_closed_signature

The signature of a channel closed notification.

Member Functions

Name

Description

invoke_receive_cancelled [static]

Invoke the specified handler with a cancellation notification.

invoke_receive_closed [static]

Invoke the specified handler with a closed notification.

Requirements

Header: boost/asio/packaged_task.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext