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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

completion_signature_of

The completion_signature_of trait determines the completion signature of an asynchronous operation.

template<
    typename T,
    typename... Args>
struct completion_signature_of
Types

Name

Description

type

Class template completion_signature_of is a trait with a member type alias type that denotes the completion signature of the asynchronous operation initiated by the expression T(Args..., token) operation, where token is an unspecified completion token type. If the asynchronous operation does not have exactly one completion signature, the instantion of the trait is well-formed but the member type alias type is omitted. If the expression T(Args..., token) is not an asynchronous operation then use of the trait is ill-formed.

Requirements

Header: boost/asio/async_result.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext