...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The packaged task is the concrete completion handler type.
typedef std::packaged_task< Result(Args...)> completion_handler_type;
Header: boost/asio/packaged_task.hpp
Convenience header: boost/asio.hpp