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 an older version of Boost and was released in 2024. The current version is 1.89.0.
Traits type to adapt arbitrary error types as dispositions.
template< typename T> struct disposition_traits
|
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.
Header: boost/asio/disposition.hpp
Convenience header: boost/asio.hpp