...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Type
alias to adapt an I/O object to use use_awaitable_t
as its default completion token type.
typedef typename T::template rebind_executor< executor_with_default< typename T::executor_type > >::other as_default_on_t;
Name |
Description |
---|---|
Specify use_awaitable_t as the default completion token type. |
Name |
Description |
---|---|
executor_with_default [constructor] |
Construct the adapted executor from the inner executor type. |
Header: boost/asio/use_awaitable.hpp
Convenience header: boost/asio.hpp