asio C++ library

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: asio/async_result.hpp

Convenience header: asio.hpp


PrevUpHomeNext