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

io_service::work::~work
PrevUpHomeNext

Destructor notifies the io_service that the work is complete.

~work();

The destructor is used to inform the io_service that some work has finished. Once the count of unfinished work reaches zero, the io_service object's run() function is permitted to exit.


PrevUpHomeNext