...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A slot associated with a cancellation signal.
class cancellation_slot
Name |
Description |
---|---|
Installs a handler into the slot. |
|
cancellation_slot [constructor] |
Creates a slot that is not connected to any cancellation signal. |
Clears the slot. |
|
Installs a handler into the slot, constructing the new object directly. |
|
Returns whether the slot is connected and has an installed handler. |
|
Returns whether the slot is connected to a signal. |
Name |
Description |
---|---|
Compare two slots for inequality. |
|
Compare two slots for equality. |
Header: boost/asio/cancellation_signal.hpp
Convenience header: boost/asio.hpp