...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A cancellation state is used for chaining signals and slots in compositions.
class cancellation_state
Name |
Description |
---|---|
cancellation_state [constructor] |
Construct a disconnected cancellation state. |
Returns the cancellation types that have been triggered. |
|
Clears the specified cancellation types, if they have been triggered. |
|
Returns the single child slot associated with the state. |
Header: boost/asio/cancellation_state.hpp
Convenience header: boost/asio.hpp