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 75886a53a4.
PrevUpHomeNext

disposition_traits

Traits type to adapt arbitrary error types as dispositions.

template<
    typename T>
struct disposition_traits
Member Functions

Name

Description

not_an_error [static]

Determine whether a disposition represents no error.

throw_exception [static]

Throw an exception if the disposition represents an error.

to_exception_ptr [static]

Convert a disposition into an exception_ptr.

This type may be specialised for user-defined types, to allow them to be treated as a disposition by asio.

The primary trait is not defined.

Requirements

Header: boost/asio/disposition.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext