...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The allocator type. The allocator is used when
constructing the std::promise
object for a given asynchronous
operation.
typedef Allocator allocator_type;
Header: boost/asio/use_future.hpp
Convenience header: None