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

redirect_error_t

A completion token adapter used to specify that an error produced by an asynchronous operation is captured to an error_code variable.

template<
    typename CompletionToken>
class redirect_error_t
Member Functions

Name

Description

redirect_error_t [constructor]

Constructor.

Data Members

Name

Description

ec_

token_

The redirect_error_t class is used to indicate that any error_code produced by an asynchronous operation is captured to a specified variable.

Requirements

Header: boost/asio/redirect_error.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext