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 a snapshot of the develop branch, built from commit b8adfe0e57.
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 :
  public integral_constant< bool, automatically_determined >

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