...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
template< typename... Ts, typename Executor> struct promise< void(Ts...), Executor >
Name |
Description |
---|---|
Rebinds the promise type to another executor. |
Name |
Description |
---|---|
Wait for the promise to become ready. |
|
Cancel the promise. Usually done through the destructor. |
|
Check if the promise is completed already. |
|
Get the executor of the promise. |
|
~promise [destructor] |
Header: boost/asio/experimental/promise.hpp
Convenience header: None