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

is_async_operation

The is_async_operation trait detects whether a type T and arguments Args... may be used to initiate an asynchronous operation.

template<
    typename T,
    typename... Args>
struct is_async_operation

Class template is_async_operation is a trait is derived from true_type if the expression T(Args..., token) initiates an asynchronous operation, where token is an unspecified completion token type. Otherwise, is_async_operation is derived from false_type.

Requirements

Header: boost/asio/async_result.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext