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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
Traits type used to determine the default completion token type associated with a type (such as an executor).
template< typename T> struct default_completion_token
|
Name |
Description |
|---|---|
|
If T has a nested type default_completion_token_type, T::default_completion_token_type. Otherwise the typedef type is boost::asio::deferred_t. |
A program may specialise this traits type if the T
template parameter in the specialisation is a user-defined type.
Specialisations of this trait may provide a nested typedef type, which is a default-constructible
completion token type.
If not otherwise specialised, the default completion token type is deferred_t.
Header: boost/asio/default_completion_token.hpp
Convenience header: boost/asio.hpp