...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A completion token object that causes an asynchronous operation to return a future.
constexpr use_future_t use_future;
See the documentation for use_future_t
for a usage example.
Header: boost/asio/use_future.hpp
Convenience header: boost/asio.hpp