Boost C++ Libraries 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.


Returns the single slot associated with the signal.

cancellation_slot slot();

The signal object must remain valid for as long the slot may be used. Destruction of the signal invalidates the slot.