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 2023. The current version is 1.89.0.
The return type of a coroutine or asynchronous operation.
template< typename T, typename Executor = any_io_executor> class awaitable
|
Name |
Description |
|---|---|
|
The executor type that will be used for the coroutine. |
|
|
The type of the awaited value. |
|
Name |
Description |
|---|---|
|
awaitable [constructor] |
Default constructor. |
|
Move assignment. |
|
|
Checks if the awaitable refers to a future result. |
|
|
~awaitable [destructor] |
Destructor. |
Header: boost/asio/awaitable.hpp
Convenience header: boost/asio.hpp