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

PrevUpHomeNext

is_disposition

Trait used for testing whether a type satisfies the requirements of a disposition.

template<
    typename T>
struct is_disposition :
  public integral_constant< bool, automatically_determined >

To be a valid disposition, a type must be nothrow default-constructible, nothrow move-constructible, nothrow move-assignable, and there must be a specialisation of the disposition_traits template for the type that provides the following static member functions: * not_an_error: Takes an argument of type const T& and returns a bool.

Requirements

Header: boost/asio/disposition.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext