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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

io_context::work::~work

Destructor notifies the io_context that the work is complete.

~work();

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


PrevUpHomeNext